/* 2026-11 見た目改修の共通部品: 線画イラスト（.il）・端末の枠（.dv）・アイコン（.ico）・階段図・FAQ。
   色は common.css のトークンだけ。グラデーションは使わない。影は1種類（薄い）。 */

/* ── イラスト（インラインSVG） ── */
.il { display: block; width: 100%; height: auto; font-family: 'Noto Sans JP', 'DM Sans', sans-serif; }
.il-stroke { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.il-stroke text { stroke: none; }
.il-line { stroke: var(--navy-light); stroke-width: 3; }
.il-line-lav { stroke: var(--lavender); }
.il-dash { stroke-dasharray: 5 6; }
.il-arrow { stroke: var(--navy); }
.il-icon-mint { color: var(--mint-deep); }
.il-icon-lav { color: var(--lavender-deep); }
.il-icon-navy { color: var(--navy-deep); }
.il-icon-white { color: #FFFFFF; }
.il-cap { font-size: 16px; font-weight: 700; fill: var(--navy-deep); }
.il-cap-mint { fill: var(--mint-deep); }
.il-cap-lav { fill: var(--lavender-deep); }
.il-cap-white { fill: #FFFFFF; }
.il-small { font-size: 13px; font-weight: 500; fill: var(--text-secondary); }
.il-tag { font-size: 12px; font-weight: 700; fill: var(--lavender-deep); }
.il-key { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700; fill: var(--mint-deep); }
.il-key-lav { fill: var(--lavender-deep); }
.il-key-sm { font-size: 12px; }
.il-num text { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; fill: #FFFFFF; }
.il-rowname { font-size: 15px; font-weight: 700; fill: var(--navy-deep); }
.il-step { font-size: 18px; font-weight: 700; fill: var(--navy-deep); }
.il-price { font-family: 'DM Sans', 'Noto Sans JP', sans-serif; font-size: 17px; font-weight: 700; fill: var(--navy-deep); }
.il-unit { font-size: 12px; font-weight: 500; fill: var(--text-secondary); }
.il-foot { font-size: 13px; fill: var(--text-secondary); }
/* 横長の図は細い画面で横にスクロール（表と同じ扱い）。本文の横はみ出しは起こさない */
.il-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.il-scroll > .il { min-width: 640px; }
.il-scroll-hint { display: none; font-size: 0.78rem; color: var(--text-light); margin: 0.4rem 0 0; }
@media (max-width: 700px) { .il-scroll-hint { display: block; } }
.il-figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(0.9rem, 2.5vw, 1.6rem); }
.il-figure figcaption { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.7; margin-top: 0.6rem; }
.il-hero { max-height: 420px; }

/* ── 端末の枠（ブラウザの窓・スマホ） ── */
.dv { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(40, 65, 79, 0.08); }
.dv-bar { display: flex; align-items: center; gap: 6px; padding: 0.55rem 0.9rem; background: var(--warm-gray); border-bottom: 1px solid var(--line); }
.dv-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dv-bar span:nth-child(1) { background: var(--lavender); }
.dv-bar span:nth-child(2) { background: var(--navy-light); }
.dv-bar span:nth-child(3) { background: var(--mint); }
.dv-bar em { margin-left: auto; font-style: normal; font-size: 0.72rem; font-weight: 700; color: var(--text-light); letter-spacing: 0.02em; }
.dv img, .dv video { display: block; width: 100%; height: auto; background: var(--line); }
.dv figcaption { padding: 0.7rem 1rem; font-size: 0.84rem; line-height: 1.7; color: var(--text-secondary); border-top: 1px solid var(--line); }
.dv a { display: block; }
.dv-phone { border-radius: 28px; border-width: 2px; max-width: 320px; }
.dv-phone .dv-bar { justify-content: center; padding: 0.5rem; }
.dv-phone .dv-bar span { display: none; }
.dv-phone .dv-bar::before { content: ''; width: 60px; height: 6px; border-radius: 3px; background: var(--line); }

/* hero の見せ場: 端末の枠＋人物の線画＋小さなチップ */
.hero-visual { position: relative; }
.hero-visual .dv { position: relative; z-index: 1; }
.hero-figures { position: absolute; left: -0.4rem; bottom: -0.6rem; z-index: 2; display: flex; align-items: flex-end; gap: 0; width: clamp(120px, 24%, 180px); pointer-events: none; }
.hero-figures svg { width: 55%; height: auto; }
.hero-figures svg + svg { margin-left: -12%; }
.hero-chip { position: absolute; right: 0.8rem; bottom: 1.6rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem 0.45rem 0.55rem; font-size: 0.82rem; font-weight: 700; color: var(--navy-deep); box-shadow: 0 1px 2px rgba(40, 65, 79, 0.08); max-width: calc(100% - 1.6rem); }
.hero-chip .ico { width: 28px; height: 28px; flex: none; }
.hero-chip-lav { color: var(--lavender-deep); }
.hero-accent { position: absolute; z-index: 2; width: clamp(140px, 34%, 240px); right: -0.4rem; bottom: -0.8rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0.4rem; box-shadow: 0 1px 2px rgba(40, 65, 79, 0.08); }
.hero-visual-note { margin: 0.8rem 0 0; font-size: 0.78rem; color: var(--text-light); text-align: right; }
@media (max-width: 760px) {
  .hero-figures { width: 100px; bottom: -0.4rem; }
  .hero-chip { right: 0.5rem; bottom: 0.8rem; font-size: 0.72rem; max-width: 64%; padding: 0.35rem 0.7rem 0.35rem 0.4rem; }
  .hero-chip .ico { width: 24px; height: 24px; }
  .hero-accent { width: 130px; }
}

/* ── アイコン ── */
.ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.ico svg { width: 24px; height: 24px; }
.ico[data-tone="mint"] { background: var(--mint-tint); color: var(--mint-deep); }
.ico[data-tone="lavender"] { background: var(--lavender-tint); color: var(--lavender-deep); }
.ico[data-tone="navy"] { background: var(--navy-tint); color: var(--navy-deep); }
.ico-lg { width: 52px; height: 52px; border-radius: 14px; }
.ico-lg svg { width: 28px; height: 28px; }
.ico-sm { width: 32px; height: 32px; border-radius: 9px; }
.ico-sm svg { width: 18px; height: 18px; }

/* ── 4ステップ（AIは下書きまで・確かめるのは人）: アイコン＋つなぐ線 ── */
.steps-line { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; position: relative; }
.steps-line li { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; position: relative; }
.steps-line li[data-tone="lavender"] { border-color: var(--lavender); background: var(--lavender-tint); }
.steps-line li:not(:last-child)::after { content: ''; position: absolute; right: -1rem; top: 2.4rem; width: 1rem; height: 2px; background: var(--navy-light); }
.steps-line .steps-num { font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; color: var(--text-light); }
.steps-line .steps-title { font-weight: 700; color: var(--navy-deep); font-size: 1.02rem; }
.steps-line .steps-who { margin-top: auto; align-self: flex-start; font-size: 0.74rem; font-weight: 700; padding: 0.1rem 0.6rem; border-radius: 999px; background: var(--mint-tint); color: var(--mint-deep); }
.steps-line li[data-tone="lavender"] .steps-who { background: #FFFFFF; color: var(--lavender-deep); }
@media (max-width: 1080px) { .steps-line { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps-line li:nth-child(2)::after { display: none; } }
@media (max-width: 680px) { .steps-line { grid-template-columns: minmax(0, 1fr); } .steps-line li::after { display: none; } }

/* ── 階段（段階的な導入） ── */
.ladder-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.ladder-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--mint); border-radius: 16px; padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; }
.ladder-card:nth-child(2) { border-top-color: var(--navy-light); }
.ladder-card:nth-child(3) { border-top-color: var(--lavender); }
.ladder-name { font-weight: 700; color: var(--navy-deep); font-size: 1.08rem; display: flex; align-items: center; gap: 0.6rem; }
.ladder-price { font-family: 'DM Sans', 'Noto Sans JP', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--navy-deep); }
.ladder-price small { font-size: 0.78rem; font-weight: 500; color: var(--text-secondary); margin-left: 0.2rem; }
.ladder-row { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 0.4rem; font-size: 0.86rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.ladder-row dt { font-weight: 700; color: var(--navy-deep); }
.ladder-row dd { margin: 0; }
.ladder-credit { margin-top: 1.4rem; background: var(--mint-tint); border-radius: 16px; padding: 1.2rem 1.4rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; }
.ladder-credit .ico { background: #FFFFFF; }
.ladder-credit h3 { margin: 0 0 0.3rem; font-size: 1rem; color: var(--mint-deep); }
.ladder-credit p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; }
.ladder-credit ul { margin: 0.4rem 0 0; padding-left: 1.2rem; font-size: 0.86rem; color: var(--text-secondary); line-height: 1.7; }
.ladder-note { margin-top: 1rem; font-size: 0.84rem; color: var(--text-secondary); }
.ladder-link { margin-top: 0.8rem; font-size: 0.9rem; }
.ladder-link a { color: var(--navy-deep); font-weight: 700; }
@media (max-width: 900px) { .ladder-cards { grid-template-columns: minmax(0, 1fr); } }

/* ── 拡大の吹き出し（実画面の要所） ── */
.co-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.hero-visual.has-co .co-list { position: absolute; right: -0.6rem; bottom: -1rem; z-index: 3; width: min(58%, 340px); }
.co { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(40, 65, 79, 0.14); }
.co[data-tone="lavender"] { border-color: var(--lavender); }
.co[data-tone="mint"] { border-color: var(--mint); }
.co[data-tone="navy"] { border-color: var(--navy-light); }
.co-crop { display: block; width: 100%; background-repeat: no-repeat; background-color: var(--white); border-bottom: 1px solid var(--line); }
.co-label { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.7rem 0.4rem 0.45rem; font-size: 0.8rem; font-weight: 700; color: var(--navy-deep); line-height: 1.4; }
.co-label .ico { width: 26px; height: 26px; border-radius: 8px; }
.co-label .ico svg { width: 16px; height: 16px; }
.hero-visual.has-co .hero-figures { bottom: -0.6rem; }
.hero-frame { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .hero-visual.has-co .co-list { position: static; width: 100%; margin-top: 0.8rem; }
  .hero-visual.has-co .hero-figures { display: none; }
  .co-label { font-size: 0.78rem; }
}

/* ── 段のカード: 枝分かれの囲み ── */
.ladder-branch { margin-top: 1.4rem; background: var(--navy-tint); border-radius: 16px; padding: 1.2rem 1.4rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; }
.ladder-branch .ico { background: #FFFFFF; }
.ladder-branch h3 { margin: 0 0 0.3rem; font-size: 1rem; color: var(--navy-deep); }
.ladder-branch p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; }
.ladder-card-link { margin-top: auto; font-size: 0.88rem; font-weight: 700; color: var(--mint-deep); align-self: flex-start; }

/* ── 面談の中身が残らない（節） ── */
.ret-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; margin-bottom: 1.2rem; }
.ret-head h2 { margin-bottom: 0.4rem; }
.ret-head p { margin-bottom: 0; }
.ret .il-figure { background: var(--off-white); }
.ret-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.4rem; }
.ret-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; line-height: 1.7; color: var(--text-secondary); }
.ret-list strong { color: var(--navy-deep); }
.ret-note { margin: 1rem 0 0; font-size: 0.84rem; color: var(--text-secondary); line-height: 1.7; }
@media (max-width: 760px) { .ret-list { grid-template-columns: minmax(0, 1fr); } .ret-head { grid-template-columns: minmax(0, 1fr); } .ret-head .ico { display: none; } }

/* ── 節の間の図版 ── */
.pd-illust .il-figure { background: var(--off-white); }
.pd-illust .il { max-height: 420px; }

/* ── FAQ（製品ページ・LP 共通） ── */
.faq-list2 { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item2 { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; }
.faq-item2 summary { cursor: pointer; font-weight: 700; color: var(--navy-deep); padding: 1rem 0; min-height: 44px; display: flex; gap: 0.7rem; align-items: baseline; line-height: 1.6; }
.faq-item2 summary::before { content: 'Q'; font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--mint-deep); flex: none; }
.faq-item2[open] { border-color: var(--navy-light); }
.faq-item2 .faq-body { padding: 0 0 1rem 1.5rem; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.8; }
.faq-item2 .faq-body p { margin: 0; }
.faq-item2 .faq-mini { margin: 0.8rem 0 0; max-width: 480px; }
.faq-item2 .faq-mini .il { max-height: 110px; }
.faq-item2 .faq-body ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }

/* ── 枠つきの見出し行（節の頭にアイコン＋ラベル） ── */
.sec-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.sec-head .pd-label { margin: 0; }

/* ── 動画: 自動再生しない。ポスターを押して再生 ── */
.vid-wrap { position: relative; }
.vid-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; padding: 0; }
.vid-play span { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(51, 80, 107, 0.92); color: #FFFFFF; font-weight: 700; font-size: 0.95rem; padding: 0.8rem 1.4rem 0.8rem 1.1rem; border-radius: 999px; box-shadow: 0 1px 2px rgba(40, 65, 79, 0.2); }
.vid-play svg { width: 22px; height: 22px; }
.vid-play:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: -3px; }
.vid-wrap.is-playing .vid-play { display: none; }

/* ── hero の左下に重ねるスマホ（実画面・架空データ） ── */
.hero-phone { position: absolute; left: -0.6rem; bottom: -1.4rem; z-index: 3; width: clamp(120px, 27%, 190px); }
.hero-phone .dv-phone { border-radius: 22px; box-shadow: 0 14px 34px rgba(40, 65, 79, 0.18); }
.hero-phone .dv-phone .dv-bar { padding: 0.35rem; }
.hero-visual.has-co .hero-phone { bottom: -1.2rem; }
@media (max-width: 760px) {
  .hero-phone { position: static; width: 62%; margin: 0.8rem auto 0; }
}
.pd-shots .dv-phone, .lp-shots .dv-phone { max-width: 300px; margin: 0 auto; }
.pd-shots .dv-phone figcaption { text-align: left; }
.hero-phone .dv-bar em { display: none; }

/* 2026-11-07 磨き: 吹き出しは列の内側に収める（右端で切れないように）。文字だけの札（.co-text）は製品ページでも使う */
.hero-visual.has-co .co-list { right: 0; width: min(56%, 340px); }
.co-text { border-radius: 16px; }
.co-text .co-label { padding: 0.5rem 0.9rem 0.5rem 0.5rem; line-height: 1.45; white-space: normal; }
.pd-hero-visual.has-co, .lp-hero-visual.has-co { padding-bottom: 0.6rem; }
