/*
 * meltylab-base — heartdoll ブランド用 CSS
 * design-heartdoll-maiddoll.html プロトタイプを移植。
 * eresia の構造に合わせ、`.brand-heartdoll` セレクタで適用する。
 * 画像は CSS変数 `--asset-*` 経由（functions.php で注入）。
 */
:root {
    --bg-soft: #FFF4F8;
    --pink-pale: #FCE0EB;
    --pink-soft: #FBC8D9;
    --pink-mid: #F49AB6;
    --pink-deep: #E07AA1;
    --pink-glow: #FF8FAF;
    --gray-text: #3D3035;
    --gray-mid: #6B5560;
    --gray-soft: #C9B8C0;
    --white: #FFFFFF;
    --shadow: rgba(244,154,182,0.25);
    --shadow-strong: rgba(224,122,161,0.35);
    --rule: rgba(224,122,161,0.25);
    --display-en: "Italianno", cursive;
    --display-rd: "M PLUS Rounded 1c", "Klee One", sans-serif;
    --jp: "Klee One", "Noto Sans JP", sans-serif;
    --body: "Noto Sans JP", sans-serif;
    /* eresia 互換のための alias（共通テンプレ部品が参照する変数名） */
    --paper: var(--gray-text);
    --paper-dim: var(--gray-mid);
    --paper-faded: var(--gray-soft);
    --bronze: var(--pink-mid);
    --bronze-light: var(--pink-deep);
    --bronze-glow: var(--pink-deep);
    --burgundy: var(--pink-deep);
    --burgundy-light: var(--pink-mid);
    --bg-deep: var(--bg-soft);
    --bg-deeper: var(--white);
    --bg-card: var(--white);
    --rule-strong: rgba(224,122,161,0.5);
    --display-jp: var(--display-rd);
    --body-jp: var(--body);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.meltylab--tier3.brand-heartdoll {
    background-color: var(--bg-soft);
    background-image: var(--asset-bg-tile, none);
    background-size: 480px auto;
    background-repeat: repeat;
    color: var(--gray-text);
    font-family: var(--body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.meltylab--tier3.brand-heartdoll::before {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
    background: linear-gradient(180deg, rgba(255,244,248,0.3) 0%, rgba(255,244,248,0.1) 50%, rgba(252,224,235,0.2) 100%);
}
.brand-heartdoll a { color: inherit; text-decoration: none; }
.brand-heartdoll img { max-width: 100%; display: block; }

/* ── ゲート時 ── */
body.meltylab--gated .ml-main { display: none !important; }
body.meltylab--gated .ml-header { display: none !important; }
body.meltylab--gated .hero { display: none !important; }
body.meltylab--gated .nav__hamburger { display: none !important; }

/* ── イントロ ── */
.brand-heartdoll .intro {
    position: fixed; inset: 0; z-index: 2500;
    background: radial-gradient(ellipse at center, #FFF4F8 0%, #FCE0EB 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 22px; pointer-events: none;
    animation: hdIntroFadeOut 3.4s ease forwards;
}
.brand-heartdoll .intro__logo {
    width: min(70vw, 420px);
    filter: drop-shadow(0 8px 24px var(--shadow-strong));
    opacity: 0;
    animation: hdIntroLogoIn 3.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.brand-heartdoll .intro__sub {
    font-family: var(--display-en); font-size: 28px;
    color: var(--pink-deep); opacity: 0;
    animation: hdIntroSubIn 3.4s ease forwards;
}
@keyframes hdIntroFadeOut { 0%,75%{opacity:1;visibility:visible;} 100%{opacity:0;visibility:hidden;} }
@keyframes hdIntroLogoIn { 0%{opacity:0;transform:scale(0.85);filter:blur(6px);} 25%{opacity:1;transform:scale(1);} 75%{opacity:1;} 100%{opacity:0;transform:scale(1.06);} }
@keyframes hdIntroSubIn { 0%,35%{opacity:0;transform:translateY(8px);} 55%,75%{opacity:1;transform:translateY(0);} 100%{opacity:0;} }

/* ── 年齢モーダル ── */
.brand-heartdoll .age-modal {
    position: fixed; inset: 0;
    background: rgba(252,224,235,0.85);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    z-index: 1700; display: flex; align-items: center; justify-content: center; padding: 20px;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.brand-heartdoll .age-modal__inner {
    max-width: 480px; width: 100%; padding: 48px 40px 36px;
    background: var(--white); border: 2px solid var(--pink-soft);
    border-radius: 28px;
    box-shadow: 0 30px 60px var(--shadow-strong), inset 0 0 0 6px var(--pink-pale);
    text-align: center; position: relative; margin: auto;
}
.brand-heartdoll .age-modal__inner::before {
    content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 50px; height: 28px;
    background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
    clip-path: polygon(0 0, 50% 60%, 100% 0, 90% 100%, 50% 80%, 10% 100%);
}
.brand-heartdoll .age-modal__logo { width: 220px; margin: 0 auto 24px; }
.brand-heartdoll .age-modal__title {
    font-family: var(--display-rd); font-weight: 700; font-size: 22px; line-height: 1.7;
    margin-bottom: 16px; color: var(--gray-text);
}
.brand-heartdoll .age-modal__title em { font-style: normal; color: var(--pink-deep); }
.brand-heartdoll .age-modal__lead {
    font-family: var(--body); font-size: 13px; color: var(--gray-mid);
    margin-bottom: 28px; line-height: 2;
}
.brand-heartdoll .age-modal__rope {
    width: 90%; height: 16px; margin: 0 auto 24px;
    background-image: var(--asset-divider-vivid, none);
    background-repeat: repeat-x; background-position: center; background-size: auto 100%;
}
.brand-heartdoll .age-modal__btns { display: flex; gap: 12px; }
.brand-heartdoll .age-modal__btn {
    flex: 1; padding: 16px 20px;
    font-family: var(--display-rd); font-weight: 700; font-size: 14px;
    cursor: pointer; border: 2px solid var(--pink-mid);
    background: transparent; color: var(--pink-deep);
    border-radius: 999px; transition: all .25s;
    -webkit-appearance: none; appearance: none;
    -webkit-tap-highlight-color: rgba(255,143,175,0.3);
    touch-action: manipulation; user-select: none; -webkit-user-select: none;
    min-height: 48px;
}
.brand-heartdoll .age-modal__btn--ok {
    background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
    color: var(--white); border-color: transparent;
    box-shadow: 0 8px 18px var(--shadow-strong);
}
.brand-heartdoll .age-modal__btn--ok:hover { transform: translateY(-2px); box-shadow: 0 12px 24px var(--shadow-strong); }
.brand-heartdoll .age-modal__btn--ng:hover { background: var(--pink-pale); }
.brand-heartdoll .age-modal__btn:active { transform: scale(0.98); }

/* ── ヘッダー ── */
.brand-heartdoll .ml-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,244,248,0.92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
    isolation: isolate;
}
.brand-heartdoll .nav {
    max-width: 1280px; margin: 0 auto; padding: 12px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    position: relative; z-index: 1;
}
.brand-heartdoll .nav__logo { display: flex; align-items: center; gap: 16px; height: 56px; text-decoration: none; }
.brand-heartdoll .nav__logo img { height: 100%; width: auto; filter: drop-shadow(0 4px 10px rgba(244,154,182,0.4)); }
.brand-heartdoll .nav__store {
    font-family: var(--display-rd); font-weight: 800; font-size: 17px;
    color: var(--gray-text); letter-spacing: 0.05em;
    padding-left: 16px; border-left: 1px dashed var(--pink-soft); line-height: 1.2;
}
.brand-heartdoll .nav__store small {
    display: block; font-family: var(--display-en); font-size: 16px;
    color: var(--pink-deep); margin-top: 0; line-height: 1; font-weight: 400;
}
.brand-heartdoll .nav__menu { display: flex; gap: 4px; align-items: center; }
.brand-heartdoll .nav__menu a {
    padding: 8px 16px;
    font-family: var(--display-rd); font-weight: 700; font-size: 13px;
    color: var(--gray-mid); border-radius: 999px;
    transition: all .25s;
}
.brand-heartdoll .nav__menu a:hover { color: var(--pink-deep); background: var(--pink-pale); }
.brand-heartdoll .nav__menu a.is-active { color: var(--white); background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep)); }
.brand-heartdoll .nav__sns { display: flex; gap: 8px; }
.brand-heartdoll .nav__sns a {
    width: 36px; height: 36px; background: var(--white);
    border: 2px solid var(--pink-soft);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--pink-deep); text-decoration: none;
    transition: all .3s;
}
.brand-heartdoll .nav__sns a:hover {
    background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
    color: var(--white); border-color: transparent;
    transform: scale(1.08); box-shadow: 0 4px 12px var(--shadow-strong);
}

/* ハンバーガー */
.brand-heartdoll .nav__hamburger {
    display: none;
    -webkit-appearance: none; appearance: none;
    -webkit-tap-highlight-color: rgba(255,143,175,0.3);
    background: var(--white); border: 2px solid var(--pink-soft);
    width: 48px; height: 48px;
    cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    color: var(--pink-deep);
    touch-action: manipulation; -webkit-touch-callout: none;
    user-select: none; -webkit-user-select: none;
    padding: 0; position: relative; z-index: 1010;
    border-radius: 50%;
    box-shadow: 0 4px 12px var(--shadow-strong);
}
.brand-heartdoll .nav__hamburger span {
    display: block; width: 22px; height: 2px;
    background: currentColor; pointer-events: none;
    transition: transform .25s, opacity .25s;
    border-radius: 2px;
}
.brand-heartdoll .nav__hamburger:active { background: var(--pink-pale); }
.brand-heartdoll .nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.brand-heartdoll .nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.brand-heartdoll .nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルドロワー */
.brand-heartdoll .ml-mobile-drawer {
    position: fixed; inset: 0; z-index: 1800;
    background: var(--bg-soft);
    display: flex; flex-direction: column;
    padding: 80px 32px 40px;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, visibility 0s linear .25s;
    -webkit-transform: translateZ(0); transform: translateZ(0);
}
.brand-heartdoll .ml-mobile-drawer.is-open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity .25s ease, visibility 0s linear 0s;
}
.brand-heartdoll .ml-mobile-drawer__close {
    position: absolute; top: 20px; right: 20px;
    -webkit-appearance: none; appearance: none;
    background: var(--white); border: 2px solid var(--pink-soft);
    width: 44px; height: 44px;
    color: var(--pink-deep); font-size: 24px; line-height: 1;
    cursor: pointer; touch-action: manipulation;
    border-radius: 50%;
    -webkit-tap-highlight-color: rgba(255,143,175,0.3);
}
.brand-heartdoll .ml-mobile-drawer__logo {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    margin: 0 auto 24px; text-decoration: none; text-align: center;
}
.brand-heartdoll .ml-mobile-drawer__logo img { max-width: 200px; height: auto; }
.brand-heartdoll .ml-mobile-drawer__store {
    font-family: var(--display-rd); font-weight: 800; font-size: 16px;
    color: var(--gray-text);
}
.brand-heartdoll .ml-mobile-drawer__store small {
    display: block; font-family: var(--display-en); font-size: 18px;
    color: var(--pink-deep); margin-top: 2px;
}
.brand-heartdoll .ml-mobile-drawer__menu {
    display: flex; flex-direction: column; gap: 4px;
    margin-top: 8px; padding-top: 20px;
    border-top: 1px dashed var(--rule);
}
.brand-heartdoll .ml-mobile-drawer__menu a {
    display: block; padding: 16px 20px;
    font-family: var(--display-rd); font-weight: 700; font-size: 16px;
    color: var(--gray-text); text-decoration: none;
    border-bottom: 1px dashed var(--pink-pale);
    border-radius: 12px;
    transition: all .25s;
}
.brand-heartdoll .ml-mobile-drawer__menu a:hover { color: var(--pink-deep); background: var(--pink-pale); }
.brand-heartdoll .ml-mobile-drawer__menu a::before { content: "♡"; margin-right: 12px; color: var(--pink-deep); }
.brand-heartdoll .ml-mobile-drawer__sns {
    display: flex; gap: 14px; margin-top: 32px; justify-content: center;
    padding-top: 24px; border-top: 1px dashed var(--rule);
}
.brand-heartdoll .ml-mobile-drawer__sns a {
    width: 48px; height: 48px;
    background: var(--white); border: 2px solid var(--pink-soft);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--pink-deep); font-size: 18px; text-decoration: none;
    transition: all .25s;
    -webkit-tap-highlight-color: rgba(255,143,175,0.3); touch-action: manipulation;
}
.brand-heartdoll .ml-mobile-drawer__sns a:hover,
.brand-heartdoll .ml-mobile-drawer__sns a:active {
    background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
    color: var(--white); border-color: transparent;
    transform: scale(1.08);
}

/* ── divider ── */
.brand-heartdoll .wood-divider, .brand-heartdoll .lace-divider {
    height: 22px;
    background-image: none; /* セクション仕切り画像を非表示 2026-06-03 */
    background-repeat: repeat-x; background-position: center; background-size: auto 100%;
    margin: 0;
}
.brand-heartdoll .rope-divider {
    height: 14px; max-width: 480px; margin: 0 auto;
    background-image: var(--asset-separator, none);
    background-repeat: no-repeat; background-position: center; background-size: contain;
    opacity: 0.85;
}

/* ── Hero ── */
.brand-heartdoll .hero {
    position: relative; width: 100%;
    aspect-ratio: 16/9; max-height: 86vh;
    overflow: hidden; background: var(--pink-pale);
}
.brand-heartdoll .hero__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.brand-heartdoll .hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(ellipse at center, transparent 60%, rgba(252,224,235,0.4)),
      linear-gradient(180deg, transparent 70%, rgba(255,244,248,0.95) 100%);
}

/* ── セクション共通 ── */
.brand-heartdoll section { padding: 56px 32px; position: relative; }
.brand-heartdoll .section__head {
    max-width: 1280px; margin: 0 auto 32px;
    text-align: center; position: relative;
}
.brand-heartdoll .section__sigil {
    display: inline-block; font-family: var(--display-en); font-size: 28px;
    color: var(--pink-deep); margin-bottom: 8px;
}
.brand-heartdoll .section__title {
    font-family: var(--display-rd); font-weight: 800;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--gray-text); margin-bottom: 16px;
}
.brand-heartdoll .section__inner { max-width: 1280px; margin: 0 auto; }

/* ── frame card ── */
.brand-heartdoll .frame {
    position: relative; padding: 24px;
    background: var(--white);
    border: 2px solid var(--pink-pale);
    border-radius: 22px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all .35s;
}
.brand-heartdoll .frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px var(--shadow-strong);
    border-color: var(--pink-soft);
}
.brand-heartdoll .frame-corner-bl, .brand-heartdoll .frame-corner-br { display: none; }

/* ── Cover Flow Carousel (cylinder セレクタを再利用してテンプレ共通化) ── */
.brand-heartdoll .cylinder-section { position: relative; z-index: 2; overflow: visible; padding: 56px 24px; }
.brand-heartdoll .cylinder {
    position: relative; width: 100%; max-width: 1100px;
    height: 440px; margin: 0 auto;
    perspective: 1200px;
    user-select: none; touch-action: pan-y;
    z-index: 5;
}
.brand-heartdoll .cylinder__stage {
    width: 100%; height: 100%;
    position: relative; transform-style: preserve-3d;
}
.brand-heartdoll .cylinder__spin {
    width: 100%; height: 100%; position: relative;
    transform-style: preserve-3d;
}
.brand-heartdoll .cylinder__item {
    position: absolute;
    top: 50%; left: 50%;
    width: 240px; height: 320px;
    margin-left: -120px; margin-top: -160px;
    background: var(--white);
    border-radius: 22px; overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow);
    transition:
      transform .8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity .8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      filter .8s ease;
    cursor: pointer; will-change: transform, opacity, filter;
    text-decoration: none; color: inherit; display: block;
    -webkit-tap-highlight-color: transparent;
}
.brand-heartdoll .cylinder__item img {
    width: 100%; height: 100%; object-fit: cover;
    pointer-events: none; -webkit-user-drag: none;
}
.brand-heartdoll .cylinder__item__overlay {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 40px 12px 12px;
    background: linear-gradient(transparent, rgba(61,48,53,0.85));
    text-align: center; color: var(--white);
    pointer-events: none;
}
.brand-heartdoll .cylinder__item__name {
    font-family: var(--display-rd); font-weight: 800; font-size: 16px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.brand-heartdoll .cylinder__item__sub {
    font-family: var(--display-en); font-size: 16px;
    color: var(--pink-soft); margin-top: 2px;
}
.brand-heartdoll .cylinder__ground { display: none; }

/* Cover flow arrangement classes */
.brand-heartdoll .cylinder__item.is-center {
    z-index: 10; transform: scale(1.1) translateZ(0);
    box-shadow: 0 30px 70px var(--shadow-strong),
      0 0 0 4px var(--pink-pale), 0 0 0 5px var(--pink-soft);
}
.brand-heartdoll .cylinder__item.is-left-1  { z-index: 5; transform: translateX(-220px) scale(0.88) translateZ(-100px); opacity: 0.85; }
.brand-heartdoll .cylinder__item.is-right-1 { z-index: 5; transform: translateX( 220px) scale(0.88) translateZ(-100px); opacity: 0.85; }
.brand-heartdoll .cylinder__item.is-left-2  { z-index: 1; transform: translateX(-420px) scale(0.76) translateZ(-300px); opacity: 0.55; }
.brand-heartdoll .cylinder__item.is-right-2 { z-index: 1; transform: translateX( 420px) scale(0.76) translateZ(-300px); opacity: 0.55; }
.brand-heartdoll .cylinder__item.is-left-1 img,
.brand-heartdoll .cylinder__item.is-right-1 img,
.brand-heartdoll .cylinder__item.is-left-2 img,
.brand-heartdoll .cylinder__item.is-right-2 img { filter: grayscale(100%) brightness(1.05); }
.brand-heartdoll .cylinder__item.is-hidden { opacity: 0; pointer-events: none; }

/* ── Today grid ── */
.brand-heartdoll .today-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    max-width: 1200px; margin: 0 auto;
}
.brand-heartdoll .today-grid__card {
    display: block; text-decoration: none; color: inherit;
    background: var(--white);
    border: 2px solid var(--pink-pale);
    border-radius: 22px;
    padding: 14px; overflow: hidden;
    box-shadow: 0 10px 28px var(--shadow);
    transition: all .35s;
    -webkit-tap-highlight-color: transparent;
}
.brand-heartdoll .today-grid__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px var(--shadow-strong);
    border-color: var(--pink-soft);
}
.brand-heartdoll .today-grid__photo {
    aspect-ratio: 3/4; overflow: hidden; border-radius: 14px;
    background: var(--pink-pale); margin-bottom: 14px;
}
.brand-heartdoll .today-grid__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.brand-heartdoll .today-grid__card:hover .today-grid__photo img { transform: scale(1.05); }
.brand-heartdoll .today-grid__time {
    font-family: var(--display-rd); font-size: 13px; font-weight: 700;
    color: var(--pink-deep); margin-bottom: 6px; text-align: center;
}
.brand-heartdoll .today-grid__time::before { content: "♡ "; }
.brand-heartdoll .today-grid__name {
    font-family: var(--display-rd); font-weight: 800; font-size: 16px;
    color: var(--gray-text); text-align: center;
}
.brand-heartdoll .today-grid__name-en {
    font-family: var(--display-en); font-size: 16px;
    color: var(--pink-deep); text-align: center; margin-top: 2px;
}

/* ── スケジュール (page-shift で使用) ── */
.brand-heartdoll .ml-day-tiles {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px;
    max-width: 1100px; margin: 0 auto 48px;
}
@media (max-width: 768px) { .brand-heartdoll .ml-day-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .brand-heartdoll .ml-day-tiles { grid-template-columns: repeat(3, 1fr); } }
.brand-heartdoll .ml-day-tile {
    appearance: none; -webkit-appearance: none;
    background: var(--white);
    border: 2px solid var(--pink-pale);
    color: var(--gray-text);
    padding: 14px 8px;
    cursor: pointer; transition: all .25s;
    font-family: inherit;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    border-radius: 14px;
    box-shadow: 0 4px 14px var(--shadow);
    touch-action: manipulation;
}
.brand-heartdoll .ml-day-tile:hover { border-color: var(--pink-soft); transform: translateY(-2px); }
.brand-heartdoll .ml-day-tile.is-active {
    background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
    color: var(--white); border-color: transparent;
    box-shadow: 0 8px 20px var(--shadow-strong);
}
.brand-heartdoll .ml-day-tile.is-empty { opacity: 0.4; }
.brand-heartdoll .ml-day-tile__d { font-family: var(--display-rd); font-weight: 800; font-size: 18px; }
.brand-heartdoll .ml-day-tile__dow { font-family: var(--display-rd); font-size: 11px; font-weight: 700; }
.brand-heartdoll .ml-day-tile__count { font-family: var(--display-rd); font-size: 11px; }
.brand-heartdoll .ml-day-panel { display: none; }
.brand-heartdoll .ml-day-panel.is-active { display: block; }
.brand-heartdoll .ml-day-panel__head {
    text-align: center; margin-bottom: 28px;
    padding: 20px;
    background: var(--white);
    border: 2px solid var(--pink-pale);
    border-radius: 18px;
}
.brand-heartdoll .ml-day-panel__date {
    font-family: var(--display-rd); font-weight: 800; font-size: 28px;
    color: var(--pink-deep);
}
.brand-heartdoll .ml-day-panel__date span {
    font-family: var(--display-rd); font-size: 12px; letter-spacing: 0.3em;
    color: var(--gray-mid); margin-left: 12px;
}
.brand-heartdoll .ml-day-panel__count {
    font-family: var(--display-rd); font-size: 14px; color: var(--gray-mid); margin-top: 6px;
}
.brand-heartdoll .ml-day-panel__casts {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    max-width: 1200px; margin: 0 auto;
}
@media (max-width: 768px) { .brand-heartdoll .ml-day-panel__casts { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ── キャスト一覧 (sub-page) ── */
.brand-heartdoll .ml-cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px; max-width: 1200px; margin: 0 auto;
}
@media (max-width: 768px) {
    .brand-heartdoll .ml-cast-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
.brand-heartdoll .ml-cast-card {
    background: var(--white);
    border: 2px solid var(--pink-pale);
    border-radius: 22px;
    transition: all .35s;
    position: relative;
    display: flex; flex-direction: column;
    box-shadow: 0 10px 28px var(--shadow);
    overflow: hidden;
}
.brand-heartdoll .ml-cast-card:hover {
    border-color: var(--pink-soft);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px var(--shadow-strong);
}
.brand-heartdoll .ml-cast-card__link { display: block; text-decoration: none; color: inherit; flex: 1; }
.brand-heartdoll .ml-cast-card__photo {
    aspect-ratio: 3/4; overflow: hidden; position: relative;
    background: var(--pink-pale);
}
.brand-heartdoll .ml-cast-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.brand-heartdoll .ml-cast-card:hover .ml-cast-card__photo img { transform: scale(1.05); }
.brand-heartdoll .ml-cast-card__body { padding: 14px 12px; text-align: center; }
.brand-heartdoll .ml-cast-card__name {
    font-family: var(--display-rd); font-weight: 800; font-size: 16px;
    color: var(--gray-text);
}
.brand-heartdoll .ml-cast-card__name-en {
    font-family: var(--display-en); font-size: 16px;
    color: var(--pink-deep); margin-top: 2px;
}
.brand-heartdoll .ml-cast-card__catch {
    font-family: var(--body); font-size: 12px; color: var(--gray-mid); margin-top: 6px;
}
.brand-heartdoll .ml-cast-card__badge {
    position: absolute; top: 10px; right: 10px;
    font-family: var(--display-rd); font-weight: 700; font-size: 10px;
    letter-spacing: 0.1em; padding: 6px 10px;
    line-height: 1.4; text-align: center;
    border-radius: 999px;
}
.brand-heartdoll .ml-cast-card__badge small { font-size: 9px; }
.brand-heartdoll .ml-badge--today {
    background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
    color: var(--white);
    box-shadow: 0 4px 12px var(--shadow-strong);
}
.brand-heartdoll .ml-badge--new {
    background: var(--white); color: var(--pink-deep);
    border: 2px solid var(--pink-soft);
}
.brand-heartdoll .ml-cast-card__sns {
    display: flex; gap: 8px; justify-content: center;
    padding: 0 12px 14px;
}
.brand-heartdoll .ml-cast-card__sns a {
    width: 32px; height: 32px;
    background: var(--white); border: 2px solid var(--pink-soft); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--pink-deep); font-size: 13px; text-decoration: none;
    transition: all .25s;
    -webkit-tap-highlight-color: rgba(255,143,175,0.3); touch-action: manipulation;
    position: relative; z-index: 2;
}
.brand-heartdoll .ml-cast-card__sns a:hover,
.brand-heartdoll .ml-cast-card__sns a:active {
    background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
    color: var(--white); border-color: transparent; transform: scale(1.1);
}

/* ── キャスト詳細 ── */
.brand-heartdoll .ml-cast-detail { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 48px; max-width: 1100px; margin: 0 auto 56px; align-items: start; }
@media (max-width: 768px) { .brand-heartdoll .ml-cast-detail { grid-template-columns: 1fr; gap: 32px; } }
.brand-heartdoll .ml-cast-detail__photo { aspect-ratio: 3/4; overflow: hidden; position: relative; border: 2px solid var(--pink-pale); border-radius: 22px; background: var(--white); box-shadow: 0 18px 50px var(--shadow); }
.brand-heartdoll .ml-cast-detail__photo img { width: 100%; height: 100%; object-fit: cover; }
.brand-heartdoll .ml-cast-detail__name-en { font-family: var(--display-en); font-size: 26px; color: var(--pink-deep); margin-bottom: 4px; }
.brand-heartdoll .ml-cast-detail__name { font-family: var(--display-rd); font-weight: 800; font-size: clamp(28px, 4vw, 44px); color: var(--gray-text); margin: 0 0 16px; }
.brand-heartdoll .ml-cast-detail__catch { font-family: var(--body); font-style: italic; font-size: 16px; color: var(--gray-mid); margin-bottom: 32px; line-height: 1.7; }
.brand-heartdoll .ml-cast-detail__profile { display: grid; grid-template-columns: 130px 1fr; gap: 12px 18px; margin-bottom: 28px; }
.brand-heartdoll .ml-cast-detail__profile dt { font-family: var(--display-rd); font-weight: 800; font-size: 11px; letter-spacing: 0.2em; color: var(--pink-deep); padding-top: 4px; }
.brand-heartdoll .ml-cast-detail__profile dd { font-family: var(--body); font-size: 14px; line-height: 1.85; color: var(--gray-text); margin: 0; padding-bottom: 10px; border-bottom: 1px dashed var(--rule); }
.brand-heartdoll .ml-cast-detail__sns { display: flex; gap: 10px; }
.brand-heartdoll .ml-cast-detail__sns a { width: 40px; height: 40px; background: var(--white); border: 2px solid var(--pink-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--pink-deep); transition: all .25s; }
.brand-heartdoll .ml-cast-detail__sns a:hover { background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep)); color: var(--white); border-color: transparent; transform: scale(1.08); }
.brand-heartdoll .ml-cast-detail__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 1100px; margin: 0 auto 48px; }
.brand-heartdoll .ml-cast-detail__gallery-item { aspect-ratio: 3/4; overflow: hidden; margin: 0; border: 2px solid var(--pink-pale); border-radius: 18px; background: var(--white); }
.brand-heartdoll .ml-cast-detail__gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.brand-heartdoll .ml-cast-detail__gallery-item:hover img { transform: scale(1.04); }
.brand-heartdoll .ml-cast-detail__shifts { max-width: 760px; margin: 0 auto 48px; padding: 28px 32px; }
.brand-heartdoll .ml-cast-detail__shifts-h { font-family: var(--display-rd); font-weight: 800; font-size: 12px; letter-spacing: 0.3em; color: var(--pink-deep); margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px dashed var(--rule); text-align: center; }
.brand-heartdoll .ml-cast-detail__shifts-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 18px; }
.brand-heartdoll .ml-cast-detail__shifts-list li { display: flex; align-items: baseline; gap: 12px; padding: 10px 12px; background: var(--pink-pale); border-radius: 12px; }
.brand-heartdoll .ml-cast-detail__shifts-date { font-family: var(--display-rd); font-weight: 800; font-size: 16px; color: var(--pink-deep); }
.brand-heartdoll .ml-cast-detail__shifts-time { font-family: var(--body); font-size: 13px; color: var(--gray-text); }

/* ── 求人セクション ── */
.brand-heartdoll .ml-recruit {
    padding: 64px 24px 48px;
    background: linear-gradient(180deg, transparent, rgba(244,154,182,0.1));
}
.brand-heartdoll .ml-recruit__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.brand-heartdoll .ml-recruit__subtitle {
    font-family: var(--display-rd); font-weight: 800;
    font-size: clamp(18px, 2.4vw, 22px);
    color: var(--pink-deep); margin: 0 0 20px;
    letter-spacing: 0.05em;
}
.brand-heartdoll .ml-recruit__text { font-family: var(--body); font-size: 15px; line-height: 2.0; color: var(--gray-text); margin-bottom: 32px; text-align: left; }
@media (min-width: 768px) { .brand-heartdoll .ml-recruit__text { text-align: center; } }
.brand-heartdoll .ml-recruit__details {
    display: grid; grid-template-columns: 130px 1fr;
    gap: 14px 24px; padding: 28px 32px;
    margin: 0 auto 32px; max-width: 640px; text-align: left;
    background: var(--white); border-radius: 22px;
    box-shadow: 0 10px 28px var(--shadow);
    border: 2px solid var(--pink-pale);
}
.brand-heartdoll .ml-recruit__details dt {
    font-family: var(--display-rd); font-weight: 800; font-size: 11px;
    letter-spacing: 0.2em; color: var(--pink-deep);
    padding-top: 4px;
}
.brand-heartdoll .ml-recruit__details dd {
    font-family: var(--body); font-size: 14px; line-height: 1.85;
    color: var(--gray-text); margin: 0; padding-bottom: 14px;
    border-bottom: 1px dashed var(--rule);
}
.brand-heartdoll .ml-recruit__details dt:last-of-type + dd { border-bottom: none; padding-bottom: 0; }
@media (max-width: 600px) {
    .brand-heartdoll .ml-recruit__details { grid-template-columns: 1fr; gap: 4px 0; padding: 22px 20px; }
    .brand-heartdoll .ml-recruit__details dd { padding-bottom: 14px; margin-bottom: 6px; }
}
.brand-heartdoll .ml-recruit__cta-line {
    font-family: var(--display-rd); font-weight: 800; font-size: 16px;
    color: var(--gray-text); margin: 16px 0 12px; letter-spacing: 0.1em;
}
.brand-heartdoll .ml-recruit__cta { margin: 12px 0 16px; }
.brand-heartdoll .ml-recruit__btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 18px 40px;
    font-family: var(--display-rd); font-weight: 800; font-size: 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
    border-radius: 999px; text-decoration: none;
    transition: all .25s;
    box-shadow: 0 8px 24px var(--shadow-strong);
}
.brand-heartdoll .ml-recruit__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px var(--shadow-strong);
}
.brand-heartdoll .ml-recruit__btn-icon { font-size: 22px; line-height: 1; }
.brand-heartdoll .ml-recruit__note {
    font-family: var(--display-rd); font-size: 11px; letter-spacing: 0.2em;
    color: var(--pink-deep); margin-top: 24px;
}

/* ── アクセスセクション ── */
.brand-heartdoll .ml-access { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: stretch; }
@media (max-width: 768px) { .brand-heartdoll .ml-access { grid-template-columns: 1fr; } }
.brand-heartdoll .ml-access__info { padding: 28px 32px; }
.brand-heartdoll .ml-access__map {
    border: 2px solid var(--pink-pale); border-radius: 22px;
    background: var(--white); overflow: hidden;
}
.brand-heartdoll .ml-access__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 768px) { .brand-heartdoll .ml-access__map iframe { min-height: 280px; } }

/* ── ml-button ── */
.brand-heartdoll .ml-button {
    display: inline-block; padding: 12px 28px;
    font-family: var(--display-rd); font-weight: 800; font-size: 14px;
    color: var(--white); border: 2px solid transparent;
    background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 18px var(--shadow-strong);
    transition: all .25s;
}
.brand-heartdoll .ml-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px var(--shadow-strong); }
.brand-heartdoll .ml-button--lg { padding: 16px 40px; font-size: 16px; }

/* ── ニュース ── */
.brand-heartdoll .news { display: flex; flex-direction: column; }
.brand-heartdoll .news__item {
    display: grid; grid-template-columns: 160px 1fr; gap: 32px;
    padding: 24px 16px; border-bottom: 1px dashed var(--rule);
    transition: all .3s;
    border-radius: 14px;
}
.brand-heartdoll .news__item:hover { background: var(--white); }
.brand-heartdoll .news__date { font-family: var(--display-rd); font-weight: 800; font-size: 14px; color: var(--pink-deep); }
.brand-heartdoll .news__title { font-family: var(--display-rd); font-weight: 700; font-size: 16px; color: var(--gray-text); line-height: 1.7; }

/* ── ハウスルール ── */
.brand-heartdoll .ml-rules { list-style: none; padding: 0; }
.brand-heartdoll .ml-rules__item {
    display: grid; grid-template-columns: 64px 1fr;
    gap: 16px; padding: 24px;
    background: var(--white); border-radius: 18px;
    border: 2px solid var(--pink-pale); margin-bottom: 12px;
    transition: all .3s; box-shadow: 0 6px 18px var(--shadow);
}
.brand-heartdoll .ml-rules__item:hover { border-color: var(--pink-soft); }
.brand-heartdoll .ml-rules__num { font-family: var(--display-rd); font-weight: 800; font-size: 36px; color: var(--pink-deep); line-height: 1; }
.brand-heartdoll .ml-rules__text { font-family: var(--body); font-size: 16px; line-height: 1.85; color: var(--gray-text); align-self: center; }

/* ── パンくず ── */
.brand-heartdoll .ml-breadcrumb-wrap { max-width: 1280px; margin: 0 auto; padding: 16px 24px 0; }
.brand-heartdoll .ml-breadcrumb { font-family: var(--display-rd); font-size: 12px; color: var(--gray-mid); }
.brand-heartdoll .ml-breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.brand-heartdoll .ml-breadcrumb li { display: inline-flex; align-items: center; }
.brand-heartdoll .ml-breadcrumb li + li::before { content: "♡"; margin-right: 8px; color: var(--pink-deep); font-size: 10px; }
.brand-heartdoll .ml-breadcrumb a { color: var(--gray-mid); text-decoration: none; transition: color .2s; }
.brand-heartdoll .ml-breadcrumb a:hover { color: var(--pink-deep); }
.brand-heartdoll .ml-breadcrumb [aria-current="page"] { color: var(--pink-deep); }

/* ── フッター ── */
.brand-heartdoll .ml-footer {
    padding: 60px 32px 32px;
    background: var(--white);
    border-top: 1px solid var(--rule);
    margin-top: 60px; text-align: center;
}
.brand-heartdoll .ml-footer__produced { padding: 8px 24px 24px; text-align: center; }
.brand-heartdoll .ml-footer__produced-label { font-family: var(--display-rd); font-size: 10px; letter-spacing: 0.4em; color: var(--gray-mid); margin-bottom: 12px; }
.brand-heartdoll .ml-footer__produced img { max-height: 64px; width: auto; display: block; margin: 0 auto; }
.brand-heartdoll .ml-footer__group { max-width: 1280px; margin: 0 auto; padding: 32px 24px; border-top: 1px dashed var(--rule); text-align: left; }
.brand-heartdoll .ml-footer__group-head { text-align: center; font-family: var(--display-en); font-size: 24px; color: var(--pink-deep); margin-bottom: 24px; }
.brand-heartdoll .ml-footer__brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.brand-heartdoll .ml-footer__brand { padding: 18px; background: var(--bg-soft); border-radius: 18px; }
.brand-heartdoll .ml-footer__brand.is-current { border: 2px solid var(--pink-soft); }
.brand-heartdoll .ml-footer__brand-head { display: flex; align-items: center; gap: 12px; text-decoration: none; padding-bottom: 10px; border-bottom: 1px dashed var(--rule); margin-bottom: 10px; }
.brand-heartdoll .ml-footer__brand-head img { max-height: 36px; width: auto; }
.brand-heartdoll .ml-footer__brand-name { font-family: var(--display-rd); font-weight: 800; font-size: 14px; color: var(--gray-text); }
.brand-heartdoll .ml-footer__brand-en { font-family: var(--display-en); font-size: 16px; color: var(--pink-deep); }
.brand-heartdoll .ml-footer__stores { list-style: none; padding: 0; margin: 0; }
.brand-heartdoll .ml-footer__stores a { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; color: var(--gray-mid); text-decoration: none; font-family: var(--display-rd); font-size: 13px; }
.brand-heartdoll .ml-footer__stores a:hover { color: var(--pink-deep); }
.brand-heartdoll .ml-footer__stores a small { font-family: var(--display-en); font-size: 13px; color: var(--pink-deep); }
.brand-heartdoll .ml-footer__stores a.is-self { color: var(--pink-deep); }
.brand-heartdoll .ml-footer__stores a.is-self::before { content: "♡ "; color: var(--pink-mid); }
.brand-heartdoll .ml-footer__current { padding: 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; border-top: 1px dashed var(--rule); }
.brand-heartdoll .ml-footer__logo { height: 64px; }
.brand-heartdoll .ml-footer__logo img { height: 100%; width: auto; display: block; margin: 0 auto; }
.brand-heartdoll .ml-footer__sns { display: flex; gap: 10px; justify-content: center; }
.brand-heartdoll .ml-footer__sns a { width: 36px; height: 36px; background: var(--bg-soft); border: 2px solid var(--pink-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--pink-deep); text-decoration: none; transition: all .25s; }
.brand-heartdoll .ml-footer__sns a:hover { background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep)); color: var(--white); border-color: transparent; }
.brand-heartdoll .ml-footer__legal { text-align: center; padding: 16px 24px; border-top: 1px dashed var(--rule); font-family: var(--display-rd); font-size: 12px; color: var(--gray-mid); }
.brand-heartdoll .ml-footer__legal a { color: var(--gray-mid); text-decoration: none; padding: 4px 8px; transition: color .2s; }
.brand-heartdoll .ml-footer__legal a:hover { color: var(--pink-deep); }
.brand-heartdoll .ml-footer__legal .sep { color: var(--pink-mid); margin: 0 8px; }
.brand-heartdoll .ml-footer__bottom { padding: 16px 24px 8px; border-top: 1px dashed var(--rule); text-align: center; font-family: var(--display-en); font-size: 14px; color: var(--gray-mid); }

/* キャストサムネのロゴフォールバック */
.brand-heartdoll .ml-cast-thumb.is-fallback {
    width: 70%; height: 70%; object-fit: contain;
    margin: auto; display: block;
    position: absolute; inset: 0;
    background: var(--pink-pale);
    padding: 22%;
    filter: drop-shadow(0 4px 12px var(--shadow-strong));
}

/* ── responsive ── */
@media (max-width: 768px) {
    .brand-heartdoll .nav { padding: 10px 14px; gap: 10px; }
    .brand-heartdoll .nav__logo { height: 38px; gap: 10px; }
    .brand-heartdoll .nav__store { font-size: 14px; padding-left: 10px; }
    .brand-heartdoll .nav__store small { font-size: 13px; }
    .brand-heartdoll .nav__menu { display: none; }
    .brand-heartdoll .nav__sns { display: none; }
    .brand-heartdoll .nav__hamburger { display: flex; }
    .brand-heartdoll section { padding: 48px 20px; }
    .brand-heartdoll .section__head { margin-bottom: 26px; }
    .brand-heartdoll .hero { aspect-ratio: 3/4; max-height: 100vh; }
    .brand-heartdoll .hero__img { object-position: center 25%; }
    .brand-heartdoll .today-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .brand-heartdoll .news__item { grid-template-columns: 1fr; gap: 8px; }
    .brand-heartdoll .cylinder { height: 380px; }
    .brand-heartdoll .cylinder__item { width: 200px; height: 280px; margin-left: -100px; margin-top: -140px; }
    .brand-heartdoll .cylinder__item.is-left-1  { transform: translateX(-160px) scale(0.85) translateZ(-100px); }
    .brand-heartdoll .cylinder__item.is-right-1 { transform: translateX( 160px) scale(0.85) translateZ(-100px); }
    .brand-heartdoll .cylinder__item.is-left-2  { transform: translateX(-280px) scale(0.7) translateZ(-300px); }
    .brand-heartdoll .cylinder__item.is-right-2 { transform: translateX( 280px) scale(0.7) translateZ(-300px); }
}
@media (min-width: 769px) {
    .brand-heartdoll .ml-mobile-drawer { display: none !important; }
}

/* ─────────────────────────────────────────
 * Tier 2（ブランドポータル）— heartdoll 共通レイアウト
 * tier3 と同じ装飾語彙を使い、追加要素のみここで定義する。
 * ───────────────────────────────────────── */

body.meltylab--tier2.brand-heartdoll {
    background-color: var(--bg-soft);
    background-image: var(--asset-bg-tile, none);
    background-size: 480px auto;
    background-repeat: repeat;
    color: var(--gray-text);
    font-family: var(--body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.meltylab--tier2.brand-heartdoll::before {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
    background: linear-gradient(180deg, rgba(255,244,248,0.3) 0%, rgba(255,244,248,0.1) 50%, rgba(252,224,235,0.2) 100%);
}

/* tier2 hero */
.brand-heartdoll .tier2-hero { position: relative; }
.brand-heartdoll .tier2-hero__overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 56px 24px;
    color: var(--white);
    background: linear-gradient(180deg, rgba(224,122,161,0.15) 0%, rgba(224,122,161,0.35) 60%, rgba(224,122,161,0.65) 100%);
}
.brand-heartdoll .tier2-hero__sigil {
    font-family: var(--display-en); font-weight: 400;
    font-size: 22px; letter-spacing: 0.18em;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(224,122,161,0.45);
}
.brand-heartdoll .tier2-hero__title {
    font-family: var(--display-rd); font-weight: 800;
    font-size: clamp(34px, 6.4vw, 78px);
    letter-spacing: 0.12em;
    line-height: 1.18;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow: 0 4px 28px rgba(224,122,161,0.55);
}
.brand-heartdoll .tier2-hero__title-en {
    font-family: var(--display-en);
    font-size: clamp(22px, 2.6vw, 32px);
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: 18px;
    text-shadow: 0 2px 16px rgba(224,122,161,0.55);
}
.brand-heartdoll .tier2-hero__tagline {
    font-family: var(--display-rd);
    font-size: clamp(13px, 1.4vw, 16px);
    letter-spacing: 0.18em;
    color: var(--white);
    margin: 0;
    text-shadow: 0 2px 8px rgba(224,122,161,0.45);
}

/* tier2 concept */
.brand-heartdoll .tier2-concept__inner { padding-bottom: 24px; }
.brand-heartdoll .tier2-concept__body {
    max-width: 760px; margin: 0 auto; padding: 40px 36px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 24px;
    box-shadow: 0 16px 36px var(--shadow);
    line-height: 2;
    font-size: 15px;
    color: var(--gray-text);
    position: relative;
}
.brand-heartdoll .tier2-concept__body p { margin-bottom: 14px; }
.brand-heartdoll .tier2-concept__body p:last-child { margin-bottom: 0; }
.brand-heartdoll .tier2-concept__lead {
    font-family: var(--display-rd);
    font-size: 19px; font-weight: 700;
    color: var(--pink-deep);
    letter-spacing: 0.08em;
    margin-bottom: 22px !important;
}
.brand-heartdoll .tier2-concept__signature {
    font-family: var(--display-en);
    font-size: 22px;
    color: var(--pink-deep);
    text-align: right;
    margin-top: 26px !important;
    letter-spacing: 0.08em;
}

/* tier2 stores grid */
.brand-heartdoll .ml-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}
.brand-heartdoll .ml-stores-grid--single {
    grid-template-columns: minmax(0, 540px);
    justify-content: center;
}
.brand-heartdoll .ml-stores-grid__card {
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
    color: var(--gray-text);
    box-shadow: 0 8px 22px var(--shadow);
}
.brand-heartdoll .ml-stores-grid__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px var(--shadow-strong);
}
.brand-heartdoll .ml-stores-grid__thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--pink-pale);
}
.brand-heartdoll .ml-stores-grid__thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.brand-heartdoll .ml-stores-grid__card:hover .ml-stores-grid__thumb img { transform: scale(1.05); }
.brand-heartdoll .ml-stores-grid__body {
    padding: 24px 26px 28px;
    display: flex; flex-direction: column;
    flex-grow: 1;
}
.brand-heartdoll .ml-stores-grid__area {
    font-family: var(--display-en);
    font-size: 22px; letter-spacing: 0.08em;
    color: var(--pink-deep);
    margin-bottom: 4px;
}
.brand-heartdoll .ml-stores-grid__name {
    font-family: var(--display-rd);
    font-size: 22px; font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--gray-text);
    margin-bottom: 4px;
}
.brand-heartdoll .ml-stores-grid__name-en {
    font-family: var(--display-en);
    font-size: 18px; letter-spacing: 0.06em;
    color: var(--pink-mid);
    margin-bottom: 14px;
}
.brand-heartdoll .ml-stores-grid__caption {
    font-size: 14px; line-height: 1.9;
    color: var(--gray-mid);
    margin-bottom: 20px;
    flex-grow: 1;
}
.brand-heartdoll .ml-stores-grid__cta {
    display: inline-block;
    font-family: var(--display-rd);
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--pink-deep);
}

/* tier2 hero モバイル */
@media (max-width: 768px) {
    .brand-heartdoll .tier2-hero__overlay { padding: 36px 18px; }
    .brand-heartdoll .tier2-hero__sigil { font-size: 18px; letter-spacing: 0.14em; margin-bottom: 14px; }
    .brand-heartdoll .tier2-hero__title { font-size: 30px; letter-spacing: 0.08em; }
    .brand-heartdoll .tier2-hero__title-en { font-size: 20px; letter-spacing: 0.08em; }
    .brand-heartdoll .tier2-hero__tagline { font-size: 12px; letter-spacing: 0.14em; }
    .brand-heartdoll .tier2-concept__body { padding: 28px 22px; font-size: 14px; border-radius: 18px; }
    .brand-heartdoll .tier2-concept__lead { font-size: 17px; }
    .brand-heartdoll .ml-stores-grid { grid-template-columns: 1fr; gap: 20px; }
    .brand-heartdoll .ml-stores-grid__name { font-size: 19px; }
}

/* tier2 hero — ロゴ画像版 */
.brand-heartdoll .tier2-hero__logo {
    width: clamp(240px, 48vw, 500px);
    margin: 0 auto 14px;
    filter: drop-shadow(0 8px 24px rgba(224,122,161,0.6)) drop-shadow(0 2px 12px rgba(255,255,255,0.4));
}
@media (max-width: 768px) {
    .brand-heartdoll .tier2-hero__logo { width: min(76vw, 340px); margin-bottom: 10px; }
}
@media (max-width: 480px) {
    .brand-heartdoll .tier2-hero__logo { width: min(82vw, 280px); }
}

/* ─────────────────────────────────────────
 * フランチャイズ CTA — heartdoll
 * ───────────────────────────────────────── */

.brand-heartdoll .ml-only-pc { display: inline; }
@media (max-width: 600px) { .brand-heartdoll .ml-only-pc { display: none; } }

/* 追従ボタン */
.brand-heartdoll .ml-fc-float {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 800;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 22px;
    background: linear-gradient(135deg, var(--pink-mid) 0%, var(--pink-deep) 100%);
    color: var(--white);
    font-family: var(--display-rd);
    font-weight: 800;
    line-height: 1.3;
    border-radius: 999px;
    box-shadow: 0 14px 32px var(--shadow-strong), 0 4px 12px rgba(255,255,255,0.4) inset;
    text-decoration: none;
    transition: transform .35s ease, box-shadow .35s ease;
}
.brand-heartdoll .ml-fc-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 22px 40px var(--shadow-strong), 0 4px 12px rgba(255,255,255,0.4) inset;
    color: var(--white);
}
.brand-heartdoll .ml-fc-float__sigil {
    font-family: var(--display-en);
    font-size: 18px; letter-spacing: 0.05em;
    color: var(--white);
    align-self: flex-start;
}
.brand-heartdoll .ml-fc-float__label {
    font-size: 13px; letter-spacing: 0.1em;
}
.brand-heartdoll .ml-fc-float__label small {
    display: block;
    font-family: var(--display-en);
    font-size: 14px; letter-spacing: 0.05em;
    color: rgba(255,255,255,0.85);
    margin-top: 2px;
    font-weight: 400;
}
.brand-heartdoll .ml-fc-float__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    background: var(--white);
    border-radius: 50%;
    color: var(--pink-deep);
    font-size: 14px;
}

body.meltylab--gated .ml-fc-float { display: none !important; }
.brand-heartdoll body:has(.ml-mobile-drawer.is-open) .ml-fc-float { display: none; }

@media (max-width: 600px) {
    .brand-heartdoll .ml-fc-float {
        right: 14px; bottom: 14px;
        padding: 11px 16px; gap: 8px;
    }
    .brand-heartdoll .ml-fc-float__sigil { display: none; }
    .brand-heartdoll .ml-fc-float__label { font-size: 11px; letter-spacing: 0.08em; }
    .brand-heartdoll .ml-fc-float__label small { font-size: 11px; }
    .brand-heartdoll .ml-fc-float__icon { width: 22px; height: 22px; font-size: 12px; }
}

/* インライン CTA */
.brand-heartdoll .ml-fc-inline { padding: 56px 32px; }
.brand-heartdoll .ml-fc-inline__inner {
    max-width: 760px; margin: 0 auto; text-align: center;
}
.brand-heartdoll .ml-fc-inline__lead {
    font-size: 15px; line-height: 2;
    color: var(--gray-mid);
    margin-bottom: 26px;
}
.brand-heartdoll .ml-fc-inline__cta { margin: 0; }

/* ── 規約・プライバシー（.ml-legal）2026-06-03 ── */
.brand-heartdoll .ml-legal { position: relative; }
.brand-heartdoll .ml-legal .section__head { text-align: center; }
.brand-heartdoll .ml-legal__body {
    margin: 36px auto 0;
    padding: 44px 40px;
    background: var(--white);
    border: 1px solid var(--pink-soft);
    border-radius: 22px;
    box-shadow: 0 12px 40px var(--shadow);
    text-align: left;
}
.brand-heartdoll .ml-legal__body > p {
    color: var(--gray-mid);
    line-height: 2.05;
    font-size: 15px;
    margin-bottom: 18px;
}
.brand-heartdoll .ml-legal__body h3 {
    font-family: var(--display-rd);
    font-weight: 700;
    font-size: 17px;
    color: var(--pink-deep);
    margin: 34px 0 14px;
    padding: 9px 18px;
    background: var(--pink-pale);
    border-radius: 14px;
}
.brand-heartdoll .ml-legal__body h3:first-of-type { margin-top: 6px; }
.brand-heartdoll .ml-legal__body ul { list-style: none; margin: 0 0 18px; padding: 0; }
.brand-heartdoll .ml-legal__body li {
    position: relative; padding-left: 26px; margin-bottom: 11px;
    color: var(--gray-mid); line-height: 1.85; font-size: 14.5px;
}
.brand-heartdoll .ml-legal__body li::before {
    content: "\2661"; position: absolute; left: 2px; top: 1px;
    color: var(--pink-deep); font-size: 14px;
}
.brand-heartdoll .ml-legal__body a { color: var(--pink-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px) {
    .brand-heartdoll .ml-legal__body { padding: 32px 22px; border-radius: 18px; }
}

/* /franchise/ ページ */
.brand-heartdoll .ml-fc-page__title { letter-spacing: 0.1em; }
.brand-heartdoll .ml-fc-page__sub {
    font-family: var(--display-en);
    font-size: 22px; letter-spacing: 0.06em;
    color: var(--pink-deep);
    margin: 6px 0 18px;
}
.brand-heartdoll .ml-fc-page__lead-inner { padding-bottom: 20px; }
.brand-heartdoll .ml-fc-page__lead {
    max-width: 760px; margin: 0 auto; padding: 36px 34px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 22px;
    box-shadow: 0 14px 32px var(--shadow);
    line-height: 2;
    font-size: 15px;
    color: var(--gray-text);
    text-align: left;
}
.brand-heartdoll .ml-fc-page__lead p { margin-bottom: 16px; }
.brand-heartdoll .ml-fc-page__lead p:last-child { margin: 0; }

/* Why points */
.brand-heartdoll .ml-fc-page__points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    max-width: 1080px;
    margin: 0 auto;
}
.brand-heartdoll .ml-fc-page__point {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 28px 24px;
    transition: transform .35s ease, box-shadow .35s ease;
    box-shadow: 0 6px 18px var(--shadow);
}
.brand-heartdoll .ml-fc-page__point:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px var(--shadow-strong);
}
.brand-heartdoll .ml-fc-page__point-sigil {
    font-family: var(--display-en);
    font-size: 18px; letter-spacing: 0.06em;
    color: var(--pink-deep);
    margin-bottom: 6px;
}
.brand-heartdoll .ml-fc-page__point-title {
    font-family: var(--display-rd); font-weight: 800;
    font-size: 17px; letter-spacing: 0.06em;
    color: var(--gray-text);
    margin-bottom: 10px;
}
.brand-heartdoll .ml-fc-page__point-desc {
    font-size: 13.5px; line-height: 1.95;
    color: var(--gray-mid);
}

/* Process */
.brand-heartdoll .ml-fc-page__steps {
    list-style: none; padding: 0;
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 16px;
}
.brand-heartdoll .ml-fc-page__step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px; align-items: start;
    padding: 22px 26px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 18px;
    border-left: 4px solid var(--pink-mid);
    box-shadow: 0 6px 18px var(--shadow);
}
.brand-heartdoll .ml-fc-page__step-num {
    font-family: var(--display-en);
    font-size: 36px; letter-spacing: 0.05em;
    color: var(--pink-deep);
    line-height: 1;
}
.brand-heartdoll .ml-fc-page__step-title {
    font-family: var(--display-rd); font-weight: 800;
    font-size: 16px; letter-spacing: 0.06em;
    color: var(--gray-text);
    margin-bottom: 6px;
}
.brand-heartdoll .ml-fc-page__step-desc {
    font-size: 13px; line-height: 1.95;
    color: var(--gray-mid);
}

/* Final CTA */
.brand-heartdoll .ml-fc-page__cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.brand-heartdoll .ml-fc-page__cta-lead {
    font-size: 15px; line-height: 2;
    color: var(--gray-text);
    margin-bottom: 28px;
}
.brand-heartdoll .ml-fc-page__cta-btn-wrap { margin: 0 0 22px; }
.brand-heartdoll .ml-fc-page__cta-note {
    font-size: 11px; line-height: 1.85;
    color: var(--gray-soft);
    margin: 0;
}

@media (max-width: 768px) {
    .brand-heartdoll .ml-fc-inline { padding: 44px 22px; }
    .brand-heartdoll .ml-fc-inline__lead { font-size: 14px; }
    .brand-heartdoll .ml-fc-page__lead { padding: 26px 22px; font-size: 14px; border-radius: 16px; }
    .brand-heartdoll .ml-fc-page__step { grid-template-columns: 56px 1fr; gap: 14px; padding: 18px; border-radius: 14px; }
    .brand-heartdoll .ml-fc-page__step-num { font-size: 28px; }
    .brand-heartdoll .ml-fc-page__step-title { font-size: 15px; }
    .brand-heartdoll .ml-fc-page__points { grid-template-columns: 1fr; gap: 14px; }
}

/* ─────────────────────────────────────────
 * お知らせカード（tier3 トップ＆アーカイブ）— heartdoll
 * ───────────────────────────────────────── */
.brand-heartdoll .ml-news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}
.brand-heartdoll .ml-news-card {
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 18px;
    overflow: hidden;
    color: var(--gray-text);
    text-decoration: none;
    transition: transform .35s ease, box-shadow .35s ease;
    box-shadow: 0 6px 18px var(--shadow);
}
.brand-heartdoll .ml-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px var(--shadow-strong);
}
.brand-heartdoll .ml-news-card__thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--pink-pale);
    display: flex; align-items: center; justify-content: center;
}
.brand-heartdoll .ml-news-card__thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.brand-heartdoll .ml-news-card:hover .ml-news-card__thumb img { transform: scale(1.05); }
.brand-heartdoll .ml-news-card__thumb img.is-fallback {
    width: 50%; height: 50%; object-fit: contain;
    opacity: 0.85;
}
.brand-heartdoll .ml-news-card__body {
    padding: 18px 22px 22px;
    display: flex; flex-direction: column;
    flex-grow: 1;
}
.brand-heartdoll .ml-news-card__date {
    font-family: var(--display-en);
    font-size: 16px; letter-spacing: 0.04em;
    color: var(--pink-deep);
    margin-bottom: 6px;
}
.brand-heartdoll .ml-news-card__title {
    font-family: var(--display-rd); font-weight: 800;
    font-size: 15px; line-height: 1.65;
    letter-spacing: 0.04em;
    color: var(--gray-text);
    margin: 0;
}

@media (max-width: 768px) {
    .brand-heartdoll .ml-news-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .brand-heartdoll .ml-news-card { border-radius: 14px; }
    .brand-heartdoll .ml-news-card__body { padding: 14px 16px 18px; }
    .brand-heartdoll .ml-news-card__title { font-size: 13.5px; }
    .brand-heartdoll .ml-news-card__date { font-size: 14px; }
}
@media (max-width: 480px) {
    .brand-heartdoll .ml-news-cards { grid-template-columns: 1fr; }
}

/* tier2 ブランドサイトのお知らせ店舗バッジ */
.brand-heartdoll .news__item { position: relative; }
.brand-heartdoll .news__store-badge {
    display: inline-block;
    margin: 4px 12px 4px 0;
    padding: 3px 12px;
    background: var(--pink-pale);
    border: 1px solid var(--pink-mid);
    border-radius: 999px;
    font-family: var(--display-rd); font-weight: 800;
    font-size: 11px; letter-spacing: 0.08em;
    color: var(--pink-deep);
    white-space: nowrap;
}
@media (max-width: 600px) {
    .brand-heartdoll .news__store-badge { font-size: 10px; padding: 2px 10px; }
}

/* ─────────────────────────────────────────
 * tier2 ニュース カード型化（2026-05-12）
 *   従来の縦リスト (date 160px | title 1fr) を、
 *   カードグリッドに切替。店舗バッジは max-width + ellipsis でカード内に収める。
 * ───────────────────────────────────────── */
.meltylab--tier2.brand-heartdoll #news .news {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.meltylab--tier2.brand-heartdoll #news .news__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    grid-template-columns: none;
    padding: 22px 24px;
    background: var(--white, #ffffff);
    border: 1px solid var(--pink-pale, #ffd8e2);
    border-radius: 18px;
    align-items: stretch;
    box-shadow: 0 6px 16px rgba(220, 130, 160, 0.06);
    transition: transform .3s ease, box-shadow .3s, border-color .3s;
}
.meltylab--tier2.brand-heartdoll #news .news__item:hover {
    padding: 22px 24px;
    box-shadow: 0 12px 28px rgba(220, 130, 160, 0.18);
    border-color: var(--pink-deep, #d96a86);
    transform: translateY(-2px);
}
.meltylab--tier2.brand-heartdoll #news .news__date { font-size: 12px; margin: 0; }
.meltylab--tier2.brand-heartdoll #news .news__store-badge {
    align-self: flex-start;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
    font-size: 11px;
    padding: 2px 10px;
}
.meltylab--tier2.brand-heartdoll #news .news__title {
    font-size: 15px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 640px) {
    .meltylab--tier2.brand-heartdoll #news .news {
        grid-template-columns: 1fr;
    }
    .meltylab--tier2.brand-heartdoll #news .news__item { padding: 18px 20px; }
}

/* tier2 ニュースカード — アイキャッチ画像（2026-05-12） */
.meltylab--tier2.brand-heartdoll #news .news__thumb {
    width: calc(100% + 48px);
    aspect-ratio: 16 / 9;
    margin: -22px -24px 8px;
    overflow: hidden;
    background: var(--pink-pale, #ffe1ea);
    border-bottom: 1px solid var(--pink-pale, #ffd8e2);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.meltylab--tier2.brand-heartdoll #news .news__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.meltylab--tier2.brand-heartdoll #news .news__item:hover .news__thumb img {
    transform: scale(1.05);
}
.meltylab--tier2.brand-heartdoll #news .news__thumb--fallback {
    background: linear-gradient(135deg, #ffe6ee 0%, #ffd0dd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.meltylab--tier2.brand-heartdoll #news .news__thumb--fallback img {
    width: 68%;
    height: auto;
    max-height: 70%;
    object-fit: contain;
    opacity: 0.85;
}
.meltylab--tier2.brand-heartdoll #news .news__item:hover .news__thumb--fallback img {
    transform: none;
    opacity: 1;
}

/* ─────────────────────────────────────────
 * お知らせ アーカイブ /news/ — レイアウト調整（2026-05-12）
 *   tier3: PC 4列 / SP 2列 グリッド
 *   tier2: 集約データ表示・カード PC 3〜4列
 *   .ml-news-card__store: 集約時の店舗ラベル
 * ───────────────────────────────────────── */
.brand-heartdoll .ml-news-archive .section__inner {
    max-width: 1280px;
}

/* tier3：PC 4列 / SP 2列（TOPの #news セクションも /news/ アーカイブも共通） */
.meltylab--tier3.brand-heartdoll .ml-news-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
    gap: 20px;
}
@media (max-width: 768px) {
    .meltylab--tier3.brand-heartdoll .ml-news-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .meltylab--tier3.brand-heartdoll .ml-news-card__body { padding: 12px 14px 16px; }
    .meltylab--tier3.brand-heartdoll .ml-news-card__date { font-size: 13px; }
    .meltylab--tier3.brand-heartdoll .ml-news-card__title { font-size: 13px; }
}

/* tier2 集約：auto-fill */
.brand-heartdoll .ml-news-archive--tier2 .ml-news-cards {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    max-width: none;
    gap: 22px;
}

/* 集約カード上の店舗ラベル */
.brand-heartdoll .ml-news-card__store {
    display: inline-block;
    align-self: flex-start;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--display-rd, sans-serif);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--pink-deep);
    padding: 2px 10px;
    border: 1px solid var(--pink-pale);
    border-radius: 999px;
    background: var(--pink-pale);
    margin-bottom: 6px;
}

/* ── SNS 公式アイコン（inline SVG・2026-06-03） ──
   ◉♪𝕏 の文字グリフを simple-icons 由来の公式ロゴ SVG に置換。
   色は SVG 側の fill="currentColor" で親 <a> の color を継承。
   円形ボタン内はボタン幅に対する % で、応募ボタンは 1em で表示。 */
.nav__sns a .ml-sns-svg,
.ml-mobile-drawer__sns a .ml-sns-svg,
.ml-cast-card__sns a .ml-sns-svg,
.ml-cast-detail__sns a .ml-sns-svg,
.ml-footer__sns a .ml-sns-svg { width: 54%; height: 54%; display: block; }
.ml-recruit__btn-icon .ml-sns-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; }
