/* Defined pastel surfaces retain the sakura palette with visible silhouettes. */
.page-home { --section-edge: clamp(14px, 3.4vw, 64px); --section-space: clamp(40px, 5vw, 72px); }
body.page-home .hero .hero-body.mk-cta,
body.page-home #news .hi-wrap,
body.page-home #flow .card-wrap,
body.page-home #rules .card-wrap,
body.page-home #safety .card-wrap {
  position: relative; isolation: isolate; max-width: 1440px;
  border: 0; background: none; box-shadow: none; overflow: visible;
}
body.page-home #news .hi-wrap::before,
body.page-home #flow .card-wrap::before,
body.page-home #rules .card-wrap::before,
body.page-home #safety .card-wrap::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  pointer-events: none; border-radius: inherit;
  border: 1px solid var(--surface-outline, #c4a4d9);
  box-shadow: inset 0 2px 0 #ffffffeb, 0 14px 38px #67407718, 0 3px 8px #6740770a;
}
/* Keep the talk-event introduction open against the shared background. */
body.page-home .hero .hero-body.mk-cta {
  width: calc(100% - var(--section-edge) * 2); margin: 24px auto;
  padding: clamp(38px, 5vw, 64px) clamp(22px, 4vw, 64px);
}
body.page-home .hero .hero-body.mk-cta::before { content: none; }
/* A lavender frame groups the overview without clipping its presenters. */
body.page-home #news .hi-wrap { padding: clamp(20px, 3vw, 36px); border-radius: 28px 60px 28px 60px; }
body.page-home #news .hi-wrap::before { background: linear-gradient(145deg, #e5d7f5ed, #faf5fff2 48%, #eadcf3e8); }
body.page-home #news .overview-column { backdrop-filter: none; border: 1px solid #ffffffb3; box-shadow: 0 7px 24px #88618a0d; }
body.page-home #news .overview-column:first-child { border-radius: 28px 28px 42px 28px; background: linear-gradient(150deg, #ffffffed, #fff7fbe6); }
body.page-home #news .overview-column:nth-child(2) { border-radius: 18px; background: #fffdfced; box-shadow: 0 7px 24px #88618a0d; }
body.page-home #news .overview-column:nth-child(3) { border-radius: 32px 32px 48px 32px; background: linear-gradient(150deg, #ffffffed, #f8f3fde6); }
/* A blue-lilac panel distinguishes the participation steps. */
body.page-home #flow .card-wrap { border-radius: 60px 20px 20px 60px; }
body.page-home #flow .card-wrap::before { --surface-outline: #acbddd; background: linear-gradient(105deg, #dce7f7e8, #f5f7fff2 65%, #e7e0f6e8); }
body.page-home #flow .st-card { border-color: #e9deefc9; background: #fffffff0; box-shadow: 0 4px 14px #76518a08; }
/* Warm ivory frames the comparison table. */
body.page-home #rules .card-wrap { padding: clamp(26px, 4vw, 48px); border-radius: 22px 54px 22px 54px; }
body.page-home #rules .card-wrap::before { --surface-outline: #dfc1ab; background: linear-gradient(145deg, #f9e6d5eb, #fff9f1f5 55%, #f3dfebe8); }
/* A mint canopy distinguishes the safety cards above the open footer. */
body.page-home #safety .card-wrap { padding: clamp(22px, 3vw, 36px); border-radius: 80px 80px 28px 28px; }
body.page-home #safety .card-wrap::before { --surface-outline: #b6c9c6; background: linear-gradient(150deg, #dceee8eb, #f7fcf9f2 50%, #e9dff2e8); }
body.page-home #safety .sf-card { border: 1px solid #ffffffd9; box-shadow: 0 8px 22px #8b648b0f; }
body.page-home #news, body.page-home #flow, body.page-home #rules, body.page-home #safety { padding-bottom: var(--section-space); }
@media (max-width: 900px) {
  body.page-home #news .hi-wrap { padding: 22px; }
  body.page-home #rules .card-wrap { padding: 28px 22px; }
  body.page-home #safety .card-wrap { padding: 24px 20px; }
}
@media (max-width: 600px) {
  body.page-home #news .hi-wrap { border-radius: 20px 38px 20px 38px; }
  body.page-home #flow .card-wrap { border-radius: 36px 16px 16px 36px; }
  body.page-home #rules .card-wrap { border-radius: 16px 36px 16px 36px; }
  body.page-home #safety .card-wrap { border-radius: 44px 44px 20px 20px; }
  body.page-home #news .hi-wrap { padding: 20px 14px; }
  body.page-home #flow .card-wrap { padding-inline: 16px; }
  body.page-home #rules .card-wrap { padding: 24px 14px; }
  body.page-home #safety .card-wrap { padding: 24px 14px; }
}

/* "トーク会のご案内": no inner container - the section itself is a full-width white band with rounded top corners */
body.page-home #news { background: #fff !important; border-radius: 60px 60px 0 0; margin-top: 24px; }
body.page-home #news .hi-wrap { padding: 0; border-radius: 0; }
body.page-home #news .hi-wrap::before { content: none; }
@media (max-width: 600px) { body.page-home #news { border-radius: 36px 36px 0 0; } body.page-home #news .hi-wrap { padding: 0; border-radius: 0; } }

/* All containers use one colour: #fff3f9 (section containers and the cards inside them) */
body.page-home #news { background: #fff3f9 !important; }
body.page-home #flow .card-wrap::before, body.page-home #rules .card-wrap::before, body.page-home #safety .card-wrap::before { background: #fff3f9; }
body.page-home #news .overview-column, body.page-home #news .overview-column:is(:first-child, :nth-child(2), :nth-child(3)),
body.page-home #flow .st-card, body.page-home #safety .sf-card { background: #fff3f9; }

/* 「トーク会のご案内」: more room between the container's top edge and its contents; the ANZŪ signature strip at the bottom is removed */
body.page-home #news { padding-top: clamp(96px, 8vw, 150px); }
body.page-home #news .reference-section-signature { display: none; }

/* The small purple slash marks beside the presenter illustrations are removed */
.reference-presenters i { display: none; }

/* 通話時間のルール: one container wraps the whole section (heading, photo, table, button). Same colour as the トーク会のご案内 container,
   the same radius on every corner; the fill sits on the box itself so it always grows with its contents. */
body.page-home #rules .card-wrap { display: flow-root; background: #fff3f9; border: 1px solid #dfc1ab; border-radius: 54px; box-shadow: 0 14px 38px #67407718, 0 3px 8px #6740770a; }
body.page-home #rules .card-wrap::before { content: none; }
@media (max-width: 600px) { body.page-home #rules .card-wrap { border-radius: 36px; } }

/* The three cards inside 「トーク会のご案内」 are white so they stand out from the #fff3f9 container around them */
body.page-home #news .overview-column, body.page-home #news .overview-column:is(:first-child, :nth-child(2), :nth-child(3)) { background: #fff; border: 1px solid #f0d9ea; box-shadow: 0 8px 26px #8a4f8a1a; }

/* 「トーク会のご案内」 band: rounded bottom corners too (same radius as the top) */
body.page-home #news { border-radius: 60px; }
@media (max-width: 600px) { body.page-home #news { border-radius: 36px; } }

/* More room between the top edge of the 通話時間のルール / 安心してご参加いただくために containers and their contents */
body.page-home #rules .card-wrap, body.page-home #safety .card-wrap { padding-top: clamp(64px, 6vw, 96px); }
@media (max-width: 600px) { body.page-home #rules .card-wrap, body.page-home #safety .card-wrap { padding-top: 52px; } }

/* 参加の流れ / 通話時間のルール / 安心してご参加いただくために: no container borders, larger corner radius, wider gaps with a "next" icon */
body.page-home :is(#flow, #rules, #safety) .card-wrap { border: 0; border-radius: clamp(44px, 5vw, 88px); }
body.page-home :is(#flow, #rules, #safety) .card-wrap::before { border: 0; border-radius: inherit; }
body.page-home :is(#flow, #rules) { padding-bottom: 0; }
.sec-next { position: relative; display: block; width: clamp(48px, 4vw, 60px); height: clamp(48px, 4vw, 60px); margin: clamp(40px, 5vw, 72px) auto; border-radius: 50%; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 20px rgba(120, 60, 150, .22); transition: transform .25s, background .25s, box-shadow .25s; }
.sec-next i { position: absolute; top: 50%; left: 50%; width: 28%; height: 28%; border-right: 3px solid var(--fv-purple, #8a3fa0); border-bottom: 3px solid var(--fv-purple, #8a3fa0); border-radius: 2px; transform: translate(-50%, -75%) rotate(45deg); transition: border-color .25s; animation: sec-next-nudge 2.2s ease-in-out infinite; }
.sec-next:hover { background: var(--fv-purple, #8a3fa0); transform: scale(1.08); box-shadow: 0 10px 26px rgba(138, 63, 160, .38); }
.sec-next:hover i { border-color: #fff; }
.sec-next:focus-visible { outline: 3px solid #f59a3a; outline-offset: 3px; }
@keyframes sec-next-nudge { 0%, 100% { transform: translate(-50%, -75%) rotate(45deg); } 50% { transform: translate(-50%, -45%) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .sec-next i { animation: none; } }


/* a little more room between the トーク会のご案内 container and the gallery below it */
body.page-home #news { margin-bottom: clamp(32px, 4vw, 64px); }

/* One outer container around トーク会のご案内 → ギャラリー → 参加の流れ → 通話時間のルール → 安心して… (each keeps its own container).
   Plain translucent white - no backdrop-filter/transform/overflow here, so the pinned overlap animation (position: fixed) keeps working. */
body.page-home .sections-container { width: 100%; max-width: none; margin: 24px 0; padding: clamp(28px, 4vw, 64px) clamp(8px, 2.4vw, 40px); border-radius: clamp(44px, 6vw, 96px); background: linear-gradient(180deg, #fffafde0, #fdf1ffd6); box-shadow: 0 18px 50px #7a3f9a1f, inset 0 0 0 1px #ffffffe6; }
/* guide icon between sections: faded double chevron (after the reference), lavender-pink to sit on the sakura background */
body .sec-next { width: clamp(64px, 6vw, 92px); height: clamp(46px, 4.4vw, 66px); border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; z-index: 4; }
body .sec-next:hover { background: none; box-shadow: none; transform: translateY(3px); }
body .sec-next i, body .sec-next::after { content: ""; position: absolute; left: 50%; width: 62%; height: 62%; border: 0; border-radius: 0; animation: none; transform: translateX(-50%); background: linear-gradient(180deg, #d9a6e600, #b87ad7b3); clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 34%, 50% 86%, 0 34%); }
body .sec-next i { top: 0; }
body .sec-next::after { top: 34%; }
body .sec-next:hover i, body .sec-next:hover::after { background: linear-gradient(180deg, #d9a6e600, #8a3fa0e6); }

/* Section containers: each gets its own pastel tint (all from the sakura palette, so they blend with the base container) and a different shape -
   a "leaf" with alternating large/small corners instead of the base container's evenly rounded box. */
body.page-home { --leaf-l: clamp(48px, 6vw, 104px); --leaf-s: clamp(18px, 2vw, 32px); }
body.page-home #news { background: linear-gradient(150deg, #f8e4fb, #fde9f4 60%, #f6e6f8) !important; border-radius: var(--leaf-s) var(--leaf-l) var(--leaf-s) var(--leaf-l); box-shadow: inset 0 2px 0 #ffffffcc, 0 12px 32px #a45bb324; }
body.page-home #flow .card-wrap { border-radius: var(--leaf-l) var(--leaf-s) var(--leaf-l) var(--leaf-s); box-shadow: inset 0 2px 0 #ffffffcc, 0 12px 32px #6f84c424; }
body.page-home #flow .card-wrap::before { background: linear-gradient(150deg, #e6ecfb, #efe8fb 60%, #e9effa); }
body.page-home #rules .card-wrap { background: linear-gradient(150deg, #ffe6ee, #ffeee6 60%, #fde7f1); border-radius: var(--leaf-s) var(--leaf-l) var(--leaf-s) var(--leaf-l); box-shadow: inset 0 2px 0 #ffffffcc, 0 12px 32px #d9729224; }
body.page-home #safety .card-wrap { border-radius: var(--leaf-l) var(--leaf-s) var(--leaf-l) var(--leaf-s); box-shadow: inset 0 2px 0 #ffffffcc, 0 12px 32px #4fa08a22; }
body.page-home #safety .card-wrap::before { background: linear-gradient(150deg, #e2f3ee, #ece7f8 60%, #e4f2ef); }

/* Section divider (after the reference): a faded double chevron in the middle with a dashed line running out to each side */
body .sec-next { --cw: clamp(56px, 6vw, 104px); --ch: calc(var(--cw) * .72); width: min(92%, 1180px); height: calc(var(--ch) * 1.5); margin: clamp(28px, 4vw, 56px) auto;
  background: repeating-linear-gradient(90deg, #c9b3de 0 5px, transparent 5px 9px) left 0 top 52% / calc(50% - var(--cw) * .9) 1px no-repeat, repeating-linear-gradient(90deg, #c9b3de 0 5px, transparent 5px 9px) right 0 top 52% / calc(50% - var(--cw) * .9) 1px no-repeat; }
body .sec-next:hover { background: repeating-linear-gradient(90deg, #a77bc9 0 5px, transparent 5px 9px) left 0 top 52% / calc(50% - var(--cw) * .9) 1px no-repeat, repeating-linear-gradient(90deg, #a77bc9 0 5px, transparent 5px 9px) right 0 top 52% / calc(50% - var(--cw) * .9) 1px no-repeat; transform: none; }
body .sec-next i, body .sec-next::after { width: var(--cw); height: var(--ch); }
body .sec-next:hover i, body .sec-next:hover::after { transform: translateX(-50%) translateY(3px); }

/* トーク会のご案内: text a little larger throughout (about +2px) */
body.page-home #news .reference-lead { font-size: 20px; }
body.page-home #news .reference-eyebrow { font-size: 13px; }
body.page-home #news .reference-card-head p { font-size: 12px; }
body.page-home #news .reference-card-head h3 { font-size: clamp(21px, 1.85vw, 28px); }
body.page-home #news .reference-list-link { font-size: 14px; }
body.page-home #news .hi-news .reference-news-list a { font-size: 16px; }
body.page-home #news .reference-news-list .news-category { font-size: 13px; }
body.page-home #news .news-date { font-size: 14px; }
body.page-home #news .hi-news > .reference-button, body.page-home #news .reference-button { font-size: 18px; }
body.page-home #news .reference-schedule-pills span { font-size: 12px; }
body.page-home #news .overview-schedule { font-size: 15px; }
body.page-home #news .overview-schedule thead { font-size: 13px; }
body.page-home #news .schedule-date { font-size: 20px; }
body.page-home #news .overview-schedule small { font-size: 12px; }
body.page-home #news .reference-calendar-intro { font-size: 14px; }
body.page-home #news .hi-cal-h { font-size: 20px; }
body.page-home #news .hi-cal-g { font-size: 14px; }
body.page-home #news .hi-cal-g b { font-size: 13px; }
body.page-home #news .hi-legend { font-size: 14px; }
@media (max-width: 600px) { body.page-home #news .hi-cal-g { font-size: 16px; } body.page-home #news .reference-lead { font-size: 17px; } }

/* 「トーク会のご案内」 and 「安心してご参加いただくために」 containers: fine dot-grid pattern (after the reference), dots tinted to each container */
body.page-home #news { background: radial-gradient(circle, #c9a2dc99 1.1px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(150deg, #fbeefc, #fff1f8 60%, #f9edfb) !important; }
body.page-home #safety .card-wrap::before { background: radial-gradient(circle, #8fbfb199 1.1px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(150deg, #eef8f4, #f3effa 60%, #eef7f4); }

/* 「ご参加までの流れ」 container: same dot-grid pattern, dots tinted periwinkle */
body.page-home #flow .card-wrap::before { background: radial-gradient(circle, #8ea2dc99 1.1px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(150deg, #edf1fc, #f3effb 60%, #edf2fb); }
