/* 作品ページ共通 */
.hero-wrap { background: var(--paper); }
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(48px, 7vw, 80px); display: flex; flex-direction: column; gap: 22px; }
.eyebrow { display: none; }
.hero h1 { margin: 0; max-width: 920px; font-weight: 900; font-size: clamp(32px, 4.8vw, 56px); line-height: 1.4; }
.hero h1 em, .block h2 em { font-style: normal; background: linear-gradient(transparent 64%, color-mix(in oklab, var(--accent) 40%, transparent) 64%); }
.hero-lead { margin: 0; max-width: 760px; font-size: 17px; line-height: 2; }
.hero-tags, .stack-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 4px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* 画面写真 */
.screenshot-wrap, .try-band, .admin-shots, .stats-strip, .sites { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.screenshot-wrap { margin-top: clamp(48px, 7vw, 80px); }
.screenshot-frame { border: 1px solid var(--line); border-radius: 8px; background: var(--bg); overflow: hidden; }
.screenshot-frame img { display: block; width: 100%; height: auto; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in oklab, var(--sub) 35%, transparent) !important; flex-shrink: 0; }
.browser-url { margin-left: 10px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--latin); font-size: 12.5px; color: var(--sub); }
.browser-url svg { flex-shrink: 0; }
.screenshot-caption { max-width: var(--wrap); margin: 12px auto 0; padding: 0 var(--gutter); font-size: 14px; color: var(--sub); }
.screenshot-wrap .screenshot-caption, .admin-shots .screenshot-caption, .sites .screenshot-caption { padding: 0; }
.admin-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; margin-top: 48px; }
.admin-shots.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
main .admin-shots { padding: 0; margin-top: 32px; }
.admin-shot-col .screenshot-caption { color: var(--ink); font-weight: 700; }
.phone-shot { max-width: 300px; margin: clamp(48px, 7vw, 80px) auto 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.phone-shot img, .richmenu-shot img { display: block; width: 100%; height: auto; }
.phone-shot + .screenshot-caption { text-align: center; }
.richmenu-shot { max-width: 460px; margin: 8px 0 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }

/* 試せる内容 */
.try-band { margin-top: clamp(48px, 7vw, 72px); }
.try-band .band { background: var(--paper); border-radius: 8px; padding: 28px 32px; }
.try-band h3 { margin: 0 0 12px; font-size: 18px; font-weight: 900; }
.try-band ul { list-style: none; margin: 0; padding: 0; }
.try-band li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.try-band .faq-cat { font-size: 13px; font-weight: 700; color: var(--accent-text); }
.try-band .faq-q { font-size: 16px; font-weight: 700; color: var(--ink); }
.try-band .faq-a { font-size: 15px; line-height: 1.9; }
.try-band p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.9; }

/* 数字 */
.stats-strip { margin-top: clamp(56px, 8vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stats-strip:has(> .stat:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-strip > .stat { border-top: 3px solid var(--accent); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.stat .num { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.35; color: var(--accent-text); }
.stat .label { font-size: 15px; line-height: 1.8; }

/* 本文：1列で読みやすく */
main { max-width: calc(860px + var(--gutter) * 2); margin: 0 auto; padding: clamp(72px, 9vw, 112px) var(--gutter) clamp(80px, 10vw, 120px); display: flex; flex-direction: column; gap: clamp(64px, 8vw, 96px); }
.block { display: flex; flex-direction: column; gap: 18px; }
.block > .block-label { display: none; }
.block h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 900; line-height: 1.5; display: flex; align-items: baseline; gap: 14px; }
.block h2::before { content: ""; width: 10px; height: 10px; background: var(--accent); flex-shrink: 0; transform: translateY(-.15em); }
.block p { margin: 0; font-size: 16.5px; line-height: 2; }
.block code { font-family: var(--latin); font-size: .9em; padding: 1px 6px; border-radius: 4px; background: var(--paper); }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 8px; }
.feature-card { padding: 20px 0 24px; border-top: 1px solid var(--line); }
.feature-card .icon { display: none; }
.feature-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; line-height: 1.6; }
.feature-card p { font-size: 15.5px; line-height: 1.9; }

.band { background: var(--paper); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; padding: 20px 24px; }
.band .about-body { font-size: 15.5px; line-height: 2; margin: 0; }
.band strong { color: var(--ink); font-weight: 700; }
.band p + p { margin-top: 12px; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; background: var(--accent); color: #fff; border-radius: 10px; padding: 36px 40px; }
.cta-band h2 { margin: 0 0 8px; color: #fff; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.5; }
.cta-band h2::before { display: none; }
.cta-band p { margin: 0; color: #fff; font-size: 15.5px; line-height: 1.9; }
.cta-band .btn-primary { background: #fff; border-color: #fff; color: #A63E20; white-space: nowrap; }
.cta-band .btn-primary:hover { background: #221D1A; border-color: #221D1A; color: #fff; }

/* 流れ */
.flow-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.flow-row:has(> .flow-node:nth-child(6)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow-line { display: none; }
.flow-node { border-top: 3px solid var(--accent); padding-top: 14px; }
.flow-pill { font-family: var(--latin); font-size: 14px; font-weight: 700; color: var(--accent-text); }
.flow-node h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 900; line-height: 1.6; }
.flow-node p { font-size: 15px; line-height: 1.85; }

/* 資料（ナレッジ検索AI） */
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.doc-card { padding: 20px 0 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.doc-icon { display: none; }
.doc-dept { font-size: 13px; font-weight: 700; color: var(--accent-text); }
.doc-card h3 { margin: 0; font-size: 17px; font-weight: 900; line-height: 1.6; }
.doc-card p { font-size: 15px; line-height: 1.9; flex: 1; }
.doc-open { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--accent-text); font-family: inherit; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.doc-open svg { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.doc-open:hover svg { transform: translate(3px, -3px); }
.doc-disclaimer { font-size: 14px; color: var(--sub); margin: 0; }
.doc-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.doc-modal[hidden] { display: none; }
.doc-modal-backdrop { position: absolute; inset: 0; background: rgba(25,21,19,.5); }
.doc-modal-panel { position: relative; width: 100%; max-width: 680px; max-height: 86vh; overflow-y: auto; background: var(--bg); border-radius: 10px; padding: 40px; }
.doc-modal-close { position: sticky; top: 0; left: 100%; margin-left: auto; margin-bottom: -40px; width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.doc-modal-close:hover { background: var(--ink); color: var(--bg); }
.doc-page-meta { font-size: 13.5px; color: var(--sub); padding-right: 52px; }
.doc-page-note { font-size: 13.5px; background: var(--paper); border-radius: 6px; padding: 10px 14px; margin-top: 12px; }
.doc-page h1 { font-weight: 900; font-size: 22px; margin: 24px 0 16px; line-height: 1.5; }
.doc-page h4 { font-size: 16px; font-weight: 900; margin: 24px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); }
.doc-page p { font-size: 15px; line-height: 1.95; margin: 0; }
.doc-page ul { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc-page li { font-size: 15px; line-height: 1.9; }

/* Webサイト制作 */
.sites { display: flex; flex-direction: column; }
.site { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px 32px; align-items: start; padding: 56px 0; border-top: 1px solid var(--line); }
.site-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.site-no { display: none; }
.site-head h3 { margin: 0; font-weight: 900; font-size: 26px; }
.site-kind { font-size: 14px; font-weight: 700; color: var(--sub); }
.site-aim { grid-column: 1 / -1; margin: -10px 0 0; max-width: 780px; font-size: 16px; line-height: 2; }
.phone-frame { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); overflow: hidden; }
.phone-frame img { display: block; width: 100%; height: auto; }
.site-points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.site-points li { font-size: 15px; line-height: 1.85; padding: 10px 0; border-top: 1px solid var(--line); }
.site-points .k { display: inline-block; min-width: 34px; font-family: var(--latin); font-size: 13px; font-weight: 700; color: var(--accent-text); }
main + .sites { margin-top: -40px; }
main[style] { padding-top: 0 !important; }
.admin-shots.three[style] { margin-top: 32px !important; }

@media (max-width: 760px) {
  .stats-strip, .stats-strip:has(> .stat:nth-child(4)) { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid, .doc-grid, .site-points { grid-template-columns: 1fr; }
  .admin-shots, .admin-shots.three { grid-template-columns: 1fr; }
  .admin-shots.three { max-width: 380px; }
  .flow-row, .flow-row:has(> .flow-node:nth-child(6)) { grid-template-columns: 1fr; }
  .try-band .band { padding: 22px 20px; }
  .cta-band { padding: 28px 24px; }
  .site { grid-template-columns: minmax(0, 1fr) 104px; gap: 20px 16px; padding: 40px 0; }
  .site .browser-bar { display: none; }
  .doc-modal-panel { padding: 26px; }
}
