/* マーケティングサポート /ads-support/ の LP 部品（飾りと動きだけ。余白・文字サイズはブロック設定） */
.yunoji-ads__heroprice { font-family: var(--wp--preset--font-family--heading); letter-spacing: .06em; }
.yunoji-ads__heroprice strong { font-size: 1.9em; font-weight: 400; margin: 0 .1em; }

/* ひし形の組み（3つの柱）。正方形の箱に % で配置、文字は箱の幅に合わせる */
.yunoji-dia { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.yunoji-dia .d { position: absolute; aspect-ratio: 1; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.6cqw; color: var(--wp--preset--color--contrast, #222); }
.yunoji-dia .d b { font: 400 3.6cqw/1.55 var(--wp--preset--font-family--heading); letter-spacing: .06em; }
.yunoji-dia .is-big   { left: 24.7%; top: 0;     width: 59.6%; background: #dbe9ee; }
.yunoji-dia .is-title { left: 0;     top: 30.8%; width: 46.4%; background: var(--yunoji-accent); color: #fff; z-index: 2; }
.yunoji-dia .is-a     { left: 56.9%; top: 37.9%; width: 42.8%; background: #eaf2f5; }
.yunoji-dia .is-b     { left: 25.9%; top: 55.5%; width: 45%;   background: #eef4f6; }
.yunoji-dia .is-big b { font-size: 4.3cqw; }
.yunoji-dia .is-title .en { font-size: 4.6cqw; letter-spacing: .1em; font-weight: 300; }
.yunoji-dia .ic { width: 7cqw; height: 7cqw; background: var(--yunoji-accent); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.yunoji-dia .ic.talk { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z'/%3E%3C/svg%3E"); }
.yunoji-dia .ic.meet { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3zm-8 0c1.66 0 3-1.34 3-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E"); }
.yunoji-dia .ic.grad { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3 1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3C/svg%3E"); }
html.yunoji-js .yunoji-dia.yunoji-play .d { opacity: 0; transform: scale(.9); }
.yunoji-dia.is-visible .d { opacity: 1 !important; transform: none !important; transition: opacity .7s ease, transform .9s cubic-bezier(.2,.75,.3,1); }
.yunoji-dia.is-visible .is-big { transition-delay: .05s; } .yunoji-dia.is-visible .is-title { transition-delay: .3s; }
.yunoji-dia.is-visible .is-a { transition-delay: .55s; }  .yunoji-dia.is-visible .is-b { transition-delay: .8s; }

/* 半年の時間軸：PC は横一本の線、スマホは縦（theme-4 の .yunoji-ads__steps を上書き） */
@media (min-width: 782px) {
  .yunoji-ads__steps.is-line { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; padding-top: .4rem; }
  .yunoji-ads__steps.is-line li { padding: 3.4rem .4rem 0; text-align: center; font-size: .85rem; line-height: 1.7; }
  .yunoji-ads__steps.is-line li::before { left: 50%; top: 0; transform: translateX(-50%); z-index: 1; }
  .yunoji-ads__steps.is-line li::after { display: none; }
  .yunoji-ads__steps.is-line::after { content: ""; position: absolute; left: 8.33%; right: 8.33%; top: calc(.4rem + 1.05rem); height: 2px; background: var(--yunoji-accent); transform-origin: left; }
  html.yunoji-js .yunoji-ads__steps.is-line.yunoji-play::after { transform: scaleX(0); }
  .yunoji-ads__steps.is-line.is-visible::after { transform: scaleX(1) !important; transition: transform 1.6s cubic-bezier(.5,.1,.2,1) .2s; }
}
.yunoji-ads__steps.is-line li:last-child { color: var(--yunoji-accent); font-weight: 500; }
.yunoji-ads__steps.is-line li:last-child::before { content: "卒業"; font-size: .7rem; letter-spacing: .05em; width: 2.6rem; height: 2.6rem; margin-top: -.25rem; }

/* スマホ：画面の下にお問い合わせを出し続ける */
.yunoji-ads__sticky { display: none; }
@media (max-width: 781px) {
  .yunoji-ads__sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; padding: .95rem 1rem; text-align: center; background: var(--yunoji-accent); color: #fff !important; text-decoration: none; letter-spacing: .1em; font-size: .95rem; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
  body:has(.yunoji-ads__sticky) { padding-bottom: 76px; }
}
.yunoji-ads__steps li small { display: block; font-size: .75rem; color: var(--wp--preset--color--muted, #888); font-weight: 400; line-height: 1.7; margin-top: .2em; }
.yunoji-dia .d small { font-size: 2.5cqw; color: #6b8790; letter-spacing: .04em; margin-top: -.6cqw; }
.yunoji-dia .ic.store { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z'/%3E%3C/svg%3E"); }
/* やること：アイコン（検索・SNS・記事） */

.yunoji-dia .is-b { padding-bottom: 7cqw; }   /* 下すぼまりで注記が切れないよう、中身を少し上へ */
/* スマホ：メインメッセージ（白札）を横書きで残す（ほかの2階層目では非表示） */
/* ひし形（写真版）：写真を敷き、白帯のラベルを重ねる */
.yunoji-dia--photo { width: min(100%, 620px); }
.yunoji-dia--photo .d:not(.is-title) { background-size: cover; background-position: center; }
.yunoji-dia--photo .lbl { position: absolute; z-index: 3; background: rgba(255,255,255,.95); padding: 1.1cqw 2.4cqw; font: 400 2.9cqw/1.5 var(--wp--preset--font-family--heading); letter-spacing: .06em; color: #222; white-space: nowrap; }
.yunoji-dia--photo .lbl i { font-style: normal; color: var(--yunoji-accent); font-size: .8em; margin-right: .6em; letter-spacing: .08em; }
.yunoji-dia--photo .l-big { left: 30%; top: 20%; }
.yunoji-dia--photo .l-a { left: 57%; top: 76%; }
.yunoji-dia--photo .l-b { left: 6%; top: 86%; }
html.yunoji-js .yunoji-dia--photo.yunoji-play .lbl { opacity: 0; transform: translateY(6px); }
.yunoji-dia--photo.is-visible .lbl { opacity: 1 !important; transform: none !important; transition: opacity .6s ease, transform .6s ease; }
.yunoji-dia--photo.is-visible .l-big { transition-delay: 1s; } .yunoji-dia--photo.is-visible .l-a { transition-delay: 1.15s; } .yunoji-dia--photo.is-visible .l-b { transition-delay: 1.3s; }
/* 左の番号付きの特徴 */
.yunoji-ads__feat { list-style: none; counter-reset: ft; padding: 0; margin-top: 2rem; }
.yunoji-ads__feat li { counter-increment: ft; position: relative; padding: .9rem 0 .9rem 3rem; border-bottom: 1px dotted #c9d9de; font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem; letter-spacing: .05em; word-break: keep-all; overflow-wrap: anywhere; }
.yunoji-ads__feat li::before { content: "0" counter(ft); position: absolute; left: 0; top: 1.05rem; color: var(--yunoji-accent); font-size: .85rem; letter-spacing: .1em; font-family: var(--wp--preset--font-family--body, sans-serif); }
.yunoji-ads__feat li small { display: block; font-size: .78rem; color: #888; font-family: var(--wp--preset--font-family--body, sans-serif); }
/* 写真版：45度に回した正方形を、大1・小4で「すき間だけ均一」に組む（位置は計算値。c=1, g=.09）
   上=03（大）、左=Feature、左下=01、右下=02、右=飾り */
.yunoji-dia--photo { width: min(100%, 680px); aspect-ratio: 1.2068; }
.yunoji-dia--photo .is-big   { left: 17.14%; top: 0;      width: 65.72% !important; }
.yunoji-dia--photo .is-title { left: 0;      top: 41.37%; width: 31.45% !important; }
.yunoji-dia--photo .is-b     { left: 17.14%; top: 62.05%; width: 31.45% !important; }
.yunoji-dia--photo .is-a     { left: 51.42%; top: 62.05%; width: 31.45% !important; }
.yunoji-dia--photo .is-x     { left: 68.55%; top: 41.37%; width: 31.45% !important; background: #dbe9ee; }
.yunoji-dia--photo .is-title .en { font-size: 3.6cqw; }
.yunoji-dia--photo .lbl { font-size: 2.6cqw; }
.yunoji-dia--photo .l-big { left: 36%; top: 30%; }
.yunoji-dia--photo .l-b   { left: 9%;  top: 88%; }
.yunoji-dia--photo .l-a   { left: 52%; top: 88%; }
.yunoji-dia.is-visible .is-x { transition-delay: .65s; }
.yunoji-dia--photo .d { padding: 0 !important; box-sizing: border-box; }   /* 文字入り版の下余白が残って縦長になっていた */
/* 冒頭の動画を画面に固定（トップと同じ）。以降の欄は不透明な地で上に重ね、「こんなことを感じる方に」の左半分だけ窓として透かす */
html.yunoji-js .yunoji-ads__hero .wp-block-cover__video-background,
html.yunoji-js .yunoji-ads__hero .wp-block-cover__background { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.yunoji-ads__hero .wp-block-cover__video-background { object-fit: cover; }
html.yunoji-js .yunoji-ads__hero .wp-block-cover__inner-container { position: relative; z-index: 1; }
body:has(.yunoji-ads__hero) .yunoji-section, body:has(.yunoji-ads__hero) .yunoji-notebook, body:has(.yunoji-ads__hero) .yunoji-ads__whocover,
body:has(.yunoji-ads__hero) footer, body:has(.yunoji-ads__hero) .wp-block-template-part:has(footer) { position: relative; z-index: 1; }
body:has(.yunoji-ads__hero) .yunoji-section--grid { background-color: #fff; }
@media (max-width: 781px) {
  .yunoji-ads__whocover { background: transparent !important; }
  .yunoji-ads__whospace { display: none !important; }
}
body:has(.yunoji-ads__hero) .wp-block-post-content > *, body:has(.yunoji-ads__hero) main > * { margin-block-start: 0; }   /* 欄の間のすき間から固定動画がのぞかないように */
/* 業種のタグ（見出しの下に小さく） */
.yunoji-ads__tags { gap: .5rem !important; margin-top: .4rem; }
.yunoji-ads__tags p { margin: 0 !important; }
.yunoji-ads__tag { border: 1px solid #b9cfd6; background: rgba(255,255,255,.7); padding: .2em .8em; border-radius: 2px; letter-spacing: .04em; color: #4b6670; }
.yunoji-ads__whocover .yunoji-ads__tags { margin-top: 1.2rem; }
/* 特徴の説明文 */
.yunoji-ads__feat .yunoji-ads__fd { display: block; margin-top: .5rem; font-family: var(--wp--preset--font-family--body, sans-serif); font-size: .85rem; line-height: 1.95; color: #555; letter-spacing: .04em; }
.yunoji-ads__feat li small { margin-top: .3rem; }
.yunoji-ads__feat li { padding-top: 1.1rem; padding-bottom: 1.1rem; }
.yunoji-dia--photo .l-big { left: 30%; }
/* 特徴の番号を大きく（見出しと同じ明朝、青灰） */
.yunoji-ads__feat li { padding-left: 4.2rem; }
.yunoji-ads__feat li::before { font-family: var(--wp--preset--font-family--heading); font-size: 2rem; line-height: 1; top: 1rem; letter-spacing: .02em; }
.yunoji-ads__feat li { border-bottom: 0; padding-top: 1rem; padding-bottom: 1.6rem; }   /* 方眼と重なるので点線は外し、余白で区切る */
/* やること／学ぶこと */
.yunoji-ads__plans > .wp-block-column > .yunoji-ads__do { height: 100%; box-sizing: border-box; }
.yunoji-ads__dl-h::before { content: ""; display: block; width: 2rem; height: 2rem; margin: 0 auto .6rem; background: var(--yunoji-accent); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.yunoji-ads__do--do .yunoji-ads__dl-h::before { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E"); }
.yunoji-ads__do--learn .yunoji-ads__dl-h::before { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 5c-1.1-.35-2.3-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1zm0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5v11.5z'/%3E%3C/svg%3E"); }
.yunoji-ads__dl { list-style: none; padding: 0; margin: 0; }
.yunoji-ads__dl li { position: relative; padding: .3em 0 .3em 1.4em; line-height: 1.7; }
.yunoji-ads__dl li::before { content: ""; position: absolute; left: .2em; top: .85em; width: .55em; height: .3em; border-left: 2px solid var(--yunoji-accent); border-bottom: 2px solid var(--yunoji-accent); transform: rotate(-45deg); }
.yunoji-ads__dl li small { display: block; color: #888; font-size: .78rem; }

/* 料金＝一枚の見積書（/ads-support/、2026-11-16）。紙の影・内側の細線・判子の傾きだけ。余白・幅・文字はブロック設定 */
.yunoji-sheet { position: relative; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px -18px rgba(58,102,118,.35); }
.yunoji-sheet::before { content: ""; position: absolute; inset: 10px; border: 1px solid #e3ecef; pointer-events: none; }
.yunoji-sheet .wp-block-columns { margin-block-start: 0; margin-block-end: 0; }
.yunoji-sheet .yunoji-ads__inc { border-top: 0; margin-top: 0; padding-top: 0; }
.yunoji-sheet .yunoji-ads__inc li { padding-top: .15em; padding-bottom: .15em; }
