.vgd-detail__logo { margin: 0 0 26px; }
.vgd-detail__logo img { display: block; width: 148px; height: auto; }

/* フッターがないので、内容が短くても下に白が残らないようページ全体を同じ色にする */
html, body { background: var(--vgf-bg-subtle) !important; }
.vgd-detail { padding: 56px 0 96px; background: var(--vgf-bg-subtle); }
.vgd-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }

.vgd-detail__title { margin-top: 0; font-size: clamp(26px, 1.8vw + 18px, 38px); font-weight: 700; line-height: 1.45; letter-spacing: -.01em; }
.vgd-detail__cover { margin: 30px 0 0; padding: 32px; background: #fff; border-radius: var(--vgf-radius); text-align: center; }
.vgd-detail__cover img { display: inline-block; max-width: 340px; width: 100%; height: auto; box-shadow: 0 10px 30px rgba(0, 42, 97, .12); }
.vgd-detail__cover--page { position: relative; aspect-ratio: 16 / 9; padding: 0; }
.vgd-detail__cover--page img { position: absolute; inset: 16px; margin: auto; max-width: calc(100% - 32px); max-height: calc(100% - 32px); width: auto; height: auto; object-fit: contain; }
.vgd-slides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.vgd-slides img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #fff; border-radius: 4px; box-shadow: 0 6px 16px rgba(0, 42, 97, .08); }
.vgd-slides--page img { object-fit: contain; background: var(--vgf-bg-subtle); }
.vgd-slides > li { min-width: 0; }
.vgd-slide-caption { display: block; margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--vgf-ink); overflow-wrap: anywhere; }
.vgd-detail__body { margin-top: 32px; font-size: 15px; line-height: 2; color: var(--vgf-ink); }
.vgd-detail__body > * + * { margin-top: 1.5em; }
.vgd-detail__body p { margin: 0; }
.vgd-detail__body h2 { margin-top: 2em; padding-bottom: 12px; border-bottom: 1px solid var(--vgf-line); font-size: 19px; font-weight: 700; line-height: 1.55; }
.vgd-detail__body h3 { margin-top: 1.8em; font-size: 17px; font-weight: 700; }
.vgd-detail__body ul, .vgd-detail__body ol { padding-left: 1.4em; }
.vgd-detail__body ul { list-style: disc; }
.vgd-detail__body ol { list-style: decimal; }
.vgd-detail__body li + li { margin-top: .5em; }
.vgd-detail__body img { max-width: 100%; height: auto; border-radius: var(--vgf-radius); }
.vgd-points { margin-top: 36px; padding: 28px 30px 30px; background: #fff; border-radius: var(--vgf-radius); }
.vgd-points__title { font-size: 15px; font-weight: 700; color: var(--vgf-brand); }
.vgd-points ul { margin: 16px 0 0; padding: 0; list-style: none; }
.vgd-points li { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.85; color: var(--vgf-ink); }
.vgd-points li + li { margin-top: 12px; }
.vgd-points li::before {
	content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px;
	border-radius: 50%; background: var(--vgf-brand);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center; background-size: 20px 20px;
}

.vgd-detail__side { position: sticky; top: 24px; }
/* HubSpot のフォームは iframe 内に左右の余白を持つ（変更不可）ので、見出しや注記も同じだけ内側に寄せる */
.vgd-card { --vgd-hs-pad: 40px; padding: 34px 16px 36px; background: #fff; border-radius: var(--vgf-radius); box-shadow: 0 10px 30px rgba(0, 42, 97, .06); }
.vgd-form__title { padding-inline: var(--vgd-hs-pad); font-size: 21px; font-weight: 700; line-height: 1.5; }
.vgd-form__text { padding-inline: var(--vgd-hs-pad); margin-top: 10px; font-size: 13.5px; line-height: 1.85; color: var(--vgf-muted); }
.vgd-form__note { padding-inline: var(--vgd-hs-pad); margin-top: 18px; font-size: 12.5px; line-height: 1.8; color: var(--vgf-muted); text-align: center; }
.vgd-thanks { padding-inline: var(--vgd-hs-pad); }
.vgd-form__note a { color: var(--vgf-brand); text-decoration: underline; text-underline-offset: 3px; }
.vgd-thanks__title { font-size: 20px; font-weight: 700; line-height: 1.5; }
.vgd-thanks__text { margin: 12px 0 24px; font-size: 14px; line-height: 1.9; color: var(--vgf-muted); }

@media (max-width: 1080px) {
	.vgd-detail__grid { grid-template-columns: 1fr; gap: 40px; }
	.vgd-detail__side { position: static; }
	.vgd-detail__cover,
	.vgd-points,
	.vgd-card { max-width: 590px; margin-inline: auto; }
}
@media (max-width: 720px) {
	.vgd-detail__logo { margin-bottom: 20px; }
	.vgd-detail__logo img { width: 128px; }
	.vgd-detail { padding: 36px 0 64px; }
	.vgd-detail__cover { padding: 24px; }
	.vgd-slides { gap: 10px; }
	.vgd-card { --vgd-hs-pad: 16px; padding: 26px 6px 28px; }
	.vgd-points { padding: 22px 20px 24px; }
}

/* スマートフォンのみ資料請求フォームの入力欄を広げる */
@media (max-width: 600px) {
  .vgd-card { --vgd-hs-pad: 0px; min-width: 0; padding-inline: 16px; }
  .vgd-form .hs-form-frame { width: 100%; overflow: hidden; }
  .vgd-form .hs-form-frame > iframe { display: block; width: calc(100% + 80px) !important; max-width: none !important; margin-inline: -40px; }
}

/* 会社資料（ヘッダーあり）：固定ヘッダーの高さ分を上に空ける */
.vgd-detail--with-header { padding-top: 124px; }
.vgd-detail--with-header .vgd-detail__side { top: 92px; }
@media (max-width: 720px) {
	.vgd-detail--with-header { padding-top: 100px; }
}
