/* =============================================================
   dx-ai-seminar.css — DX・AIセミナー 紹介ページ／申込ページ 共通スタイル
   project/dx-ai-seminar.php と project/dx-ai-seminar-apply.php から読み込む。
   1. ヘッダー／フッターの調整（index.php と同じ内容）
   2. ページ本体（.sm-*）：白地に濃紺、帯は濃い青、申込ボタンは黄色
   ============================================================= */

/* =========================================================
   1. トップページ（index.php）と共通のヘッダー／フッター調整
   ========================================================= */
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont,
        'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
        'Yu Gothic UI', 'Yu Gothic', 'Meiryo', 'Noto Sans JP', sans-serif;
}
.font-medaka { font-family: 'Klee One', 'Hiragino Mincho ProN', 'Yu Mincho', serif !important; }
/* ヘッダーの固定・サイズ・scroll-padding・NEWバッジは ../css/site-header.css（全ページ共通）で定義 */
.site-header-fixed { transform: translateY(0); opacity: 1; pointer-events: auto; }

#footer .footer-brand-logo { width: 300px; max-width: 80vw; height: auto; display: block; }
#footer .footer-brand-title { margin-bottom: 28px !important; }
#footer .footer-brand-desc { max-width: 520px; }
#footer .footer-mail-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 4px 0; }
#footer .footer-mail-row .icon-email { font-size: 1.1em; opacity: 0.9; }
#footer .footer-line-card {
    margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: #ffffff;
    border: 1px solid rgba(6, 199, 85, 0.45); box-shadow: 0 10px 28px rgba(31, 42, 68, 0.08); max-width: 360px;
}
#footer .footer-line-badge {
    display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: #fff;
    background: #06C755; padding: 5px 12px; border-radius: 6px; margin-bottom: 10px; line-height: 1;
}
#footer .footer-line-head { font-size: 16px; font-weight: 700; color: #1F2A44; margin: 0 0 6px 0; line-height: 1.45; }
#footer .footer-line-sub { font-size: 13px; line-height: 1.55; color: #55607A; margin: 0 0 14px 0; }
#footer .footer-line-btn {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border-radius: 10px;
    background: #06C755; color: #fff !important; text-decoration: none !important; font-weight: 700;
    box-shadow: 0 6px 22px rgba(6, 199, 85, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
#footer .footer-line-btn:hover { background: #05b04c; color: #fff !important; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(6, 199, 85, 0.4); }
#footer .footer-line-btn svg { flex-shrink: 0; }
#footer .footer-line-btn-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1; min-width: 0; }
#footer .footer-line-btn-text strong { font-size: 15px; font-weight: 800; letter-spacing: 0.02em; }
#footer .footer-line-btn-text small { font-size: 12px; opacity: 0.95; font-weight: 500; }
#footer .footer-line-btn-arrow { font-size: 20px; font-weight: 700; opacity: 0.95; line-height: 1; }

.offcanvas-backdrop { width: 100vh !important; }
.text-medium { color: #55607A !important; }
.contact-mobile .content-contact-moblile:first-child { align-items: end !important; }
.contact-mobile .content-contact-moblile.contact-address { align-items: flex-start !important; }
.contact-mobile .contact-address i { padding-top: 3px; }
.contact-mobile .contact-address .text-medium { display: block; line-height: 1.7; }
.contact-mobile .contact-address .contact-zip { display: block; font-size: 12px; opacity: 0.75; }

/* =========================================================
   2. セミナーページ本体
      白地に濃紺の文字。開催概要の帯は濃い青、申込ボタンは黄色（ブランド配色）。
      ※ テーマCSSは html{font-size:62.5%} のため、サイズは px / clamp で指定
   ========================================================= */
:root {
    --sm-white: #FFFFFF;
    --sm-navy: #1F2A44;
    --sm-gray: #55607A;
    --sm-gray-light: #8A93A8;
    --sm-line: #D6E9FA;
    --sm-blue: #1E88E5;
    --sm-blue-deep: #1976D2;
    --sm-blue-dark: #1565C0;
    --sm-sky: #EAF4FD;
    --sm-yellow: #FFC83D;
    --sm-yellow-dark: #F5B800;
    --sm-red: #D32F2F;
    --sm-head: 'DM Sans', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Noto Sans JP', sans-serif;
    --sm-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --sm-header-h: 102px; /* 実測値は JS で上書き */
}
body { background: var(--sm-white); }
.sm-page {
    padding-top: var(--sm-header-h);
    color: var(--sm-navy);
    font-size: 16px;
    line-height: 1.95;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
.sm-page * { box-sizing: border-box; }
:where(.sm-page) p { font-size: inherit; line-height: inherit; margin: 0; }
:where(.sm-page) :is(h1, h2, h3, h4) { font-family: var(--sm-head); color: var(--sm-navy); margin: 0; letter-spacing: 0; font-weight: 700; }
:where(.sm-page) a { color: var(--sm-navy); }
.sm-page a:focus-visible, .sm-page button:focus-visible, .sm-page input:focus-visible, .sm-page select:focus-visible, .sm-page textarea:focus-visible { outline: 2px solid var(--sm-blue); outline-offset: 3px; }
:where(.sm-page) img { display: block; max-width: 100%; height: auto; }
:where(.sm-page) :is(ul, ol, dl) { margin: 0; padding: 0; }
:where(.sm-page) li { list-style: none; }

.sm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.sm-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.sm-section { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--sm-line); }

.sm-label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--sm-blue); margin-bottom: 18px; letter-spacing: 0.02em; }
.sm-label::before { content: ""; width: 28px; height: 2px; background: var(--sm-blue); }
.sm-h2 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.sm-sub { margin-top: 18px; font-size: 15px; line-height: 1.9; color: var(--sm-gray); max-width: 38em; }

/* ボタン */
.sm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 56px; padding: 16px 32px; border-radius: 12px;
    font-family: var(--sm-head); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none !important;
    border: 1px solid var(--sm-blue-deep); cursor: pointer; white-space: nowrap;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.sm-btn i { font-size: 12px; }
.sm-btn-blue { background: var(--sm-blue-deep); color: #fff !important; }
.sm-btn-blue:hover { background: var(--sm-blue-dark); border-color: var(--sm-blue-dark); color: #fff !important; }
.sm-btn-yellow { background: var(--sm-yellow); color: var(--sm-navy) !important; border-color: var(--sm-yellow); box-shadow: 0 10px 24px rgba(255, 200, 61, 0.35); }
.sm-btn-yellow:hover { background: var(--sm-yellow-dark); border-color: var(--sm-yellow-dark); color: var(--sm-navy) !important; transform: translateY(-1px); }
.sm-btn-line { background: transparent; color: var(--sm-blue-deep) !important; }
.sm-btn-line:hover { background: var(--sm-blue-deep); color: #fff !important; }
.sm-btn-line--light { color: #fff !important; border-color: rgba(255, 255, 255, 0.6); }
.sm-btn-line--light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; color: #fff !important; }
.sm-textlink { font-weight: 700; font-size: 15px; color: var(--sm-blue); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.sm-textlink:hover { text-decoration-thickness: 2px; }

/* ---- HERO ---- */
.sm-hero {
    padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px);
    background:
        radial-gradient(640px 640px at 100% 0%, rgba(30, 136, 229, 0.12), transparent 70%),
        radial-gradient(420px 420px at 0% 100%, rgba(255, 200, 61, 0.2), transparent 70%),
        #fff;
}
.sm-crumb { grid-column: 1 / -1; margin-bottom: 28px; font-size: 12px; color: var(--sm-gray); }
.sm-crumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.sm-crumb li + li::before { content: "/"; margin-right: 10px; color: var(--sm-line); }
.sm-crumb a { color: var(--sm-gray); text-decoration: none; }
.sm-crumb a:hover { color: var(--sm-blue); text-decoration: underline; text-underline-offset: 0.3em; }
.sm-hero-main { grid-column: 1 / span 7; align-self: center; }
.sm-hero-photo { grid-column: 9 / span 4; align-self: center; position: relative; }
.sm-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 20px; box-shadow: 0 24px 60px rgba(31, 42, 68, 0.14); }
.sm-hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); padding: 10px 14px; border-radius: 10px; font-size: 12px; line-height: 1.5; color: var(--sm-gray); }
.sm-hero-photo figcaption b { display: block; font-size: 15px; color: var(--sm-navy); }
.sm-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sm-badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.4; }
.sm-badge--yellow { background: var(--sm-yellow); color: var(--sm-navy); }
.sm-badge--blue { background: var(--sm-blue-deep); color: #fff; }
.sm-badge--line { border: 1px solid var(--sm-blue); color: var(--sm-blue); }
.sm-host { font-size: 13px; font-weight: 700; color: var(--sm-gray); margin-bottom: 14px; }
.sm-host b { color: var(--sm-navy); }
.sm-hero-eyebrow { font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: var(--sm-blue-deep); line-height: 1.4; }
.sm-hero-title { margin-top: 8px; font-size: clamp(44px, 7vw, 92px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; color: var(--sm-navy); }
.sm-hero-title span { display: inline-block; }
.sm-hero-sub { margin-top: 20px; font-size: clamp(16px, 1.6vw, 21px); font-weight: 700; line-height: 1.6; color: var(--sm-navy); }
.sm-hero-sub em { font-style: normal; color: var(--sm-blue-deep); }
.sm-hero-lead { margin-top: 20px; font-size: 15px; line-height: 2; color: var(--sm-gray); max-width: 36em; }
.sm-hero-dates { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sm-date { display: flex; align-items: baseline; gap: 10px; padding: 14px 20px; background: var(--sm-sky); border-radius: 14px; border: 1px solid var(--sm-line); }
.sm-date .no { font-size: 13px; font-weight: 800; color: var(--sm-blue-deep); white-space: nowrap; }
.sm-date .d { font-family: var(--sm-head); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--sm-navy); }
.sm-date .dow { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--sm-navy); font-size: 12px; font-weight: 700; line-height: 1; margin-left: 2px; vertical-align: middle; }
.sm-date .t { font-size: 13px; font-weight: 700; color: var(--sm-gray); white-space: nowrap; }
.sm-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.sm-countdown { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--sm-gray); min-height: 1.6em; }
.sm-countdown b { font-family: var(--sm-head); font-size: 22px; color: var(--sm-blue-deep); padding: 0 3px; }

.sm-hero [data-in] { opacity: 0; transform: translateY(16px); animation: sm-in 1s var(--sm-ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@keyframes sm-in { to { opacity: 1; transform: none; } }

/* ---- 開催概要の帯（濃い青） ---- */
.sm-facts { background: var(--sm-blue-deep); color: #fff; }
.sm-facts dl { display: grid; grid-template-columns: repeat(6, 1fr); }
.sm-facts div { padding: clamp(24px, 3vw, 36px) 24px clamp(24px, 3vw, 36px) 0; }
.sm-facts div + div { border-left: 1px solid rgba(255, 255, 255, 0.22); padding-left: 24px; }
.sm-facts dt { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.78); }
.sm-facts dd { margin: 8px 0 0; font-family: var(--sm-head); font-size: clamp(16px, 1.4vw, 21px); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.sm-facts dd small { display: block; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.8); margin-top: 6px; letter-spacing: 0; }

/* ---- こんな方に ---- */
.sm-about-head { grid-column: 1 / span 5; }
.sm-about-body { grid-column: 7 / span 6; }
.sm-about-body p { font-size: 15px; line-height: 2.1; }
.sm-about-body p + p { margin-top: 1.4em; }
.sm-who { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
.sm-who li { background: var(--sm-sky); border-radius: 16px; padding: 24px 24px 26px; }
.sm-who .ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--sm-blue-deep); font-size: 18px; margin-bottom: 16px; }
.sm-who h3 { font-size: 17px; line-height: 1.5; }
.sm-who p { margin-top: 8px; font-size: 14px; line-height: 1.85; color: var(--sm-gray); }

/* ---- プログラム ---- */
.sm-program-head { grid-column: 1 / span 4; }
.sm-program-head .sm-h2 { position: sticky; top: calc(var(--sm-header-h) + 32px); }
.sm-program { grid-column: 6 / span 7; }
.sm-session { border: 1px solid var(--sm-line); border-radius: 20px; padding: clamp(24px, 3vw, 36px); background: #fff; box-shadow: 0 10px 30px rgba(31, 42, 68, 0.05); }
.sm-session + .sm-session { margin-top: 24px; }
.sm-session-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; }
.sm-session-no { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 8px; background: var(--sm-blue-deep); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; }
.sm-session-date { font-family: var(--sm-head); font-size: 15px; font-weight: 700; color: var(--sm-navy); }
.sm-session-date .dow { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--sm-navy); font-size: 11px; margin: 0 6px 0 4px; vertical-align: middle; }
.sm-session-date .t { color: var(--sm-gray); font-weight: 500; }
.sm-session h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; }
.sm-session .sub { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--sm-blue-deep); }
.sm-points { margin-top: 20px; border-top: 1px solid var(--sm-line); }
.sm-points li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sm-line); font-size: 15px; font-weight: 500; line-height: 1.7; }
.sm-points li::before { content: "✓"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: var(--sm-sky); color: var(--sm-blue-deep); font-size: 13px; font-weight: 800; margin-top: 3px; }
.sm-later { margin-top: 32px; background: var(--sm-sky); border-radius: 20px; padding: clamp(24px, 3vw, 32px); }
.sm-later h3 { font-size: 15px; font-weight: 700; color: var(--sm-blue-deep); }
.sm-later p { margin-top: 6px; font-size: 13px; color: var(--sm-gray); }
.sm-later ol { margin-top: 16px; counter-reset: none; }
.sm-later li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(30, 136, 229, 0.2); font-size: 16px; font-weight: 700; line-height: 1.6; }
.sm-later li .no { font-size: 13px; font-weight: 800; color: var(--sm-blue-deep); white-space: nowrap; }

/* ---- 講師 ---- */
.sm-lecturer { background: var(--sm-sky); border-top: 0; }
.sm-lecturer-photo { grid-column: 1 / span 4; }
.sm-lecturer-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 25%; border-radius: 20px; }
.sm-lecturer-body { grid-column: 6 / span 7; }
.sm-lecturer-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-top: 8px; }
.sm-lecturer-name h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; }
.sm-lecturer-name span { font-size: 14px; font-weight: 700; color: var(--sm-gray); }
.sm-lecturer-body p { margin-top: 18px; font-size: 15px; line-height: 2; }
.sm-lecturer-body p + p { margin-top: 1em; }
.sm-lecturer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sm-lecturer-tags li { padding: 6px 12px; background: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--sm-blue-deep); border: 1px solid rgba(30, 136, 229, 0.25); }

/* ---- 開催概要（表）＋申込フォーム ---- */
.sm-apply-section { background: #fff; }
.sm-spec-col { grid-column: 1 / span 5; }
.sm-spec { margin-top: 32px; border-top: 2px solid var(--sm-blue); }
.sm-spec > div { display: grid; grid-template-columns: 96px 1fr; gap: 0 16px; padding: 18px 0; border-bottom: 1px solid var(--sm-line); }
.sm-spec dt { font-size: 13px; font-weight: 500; color: var(--sm-gray); padding-top: 4px; }
.sm-spec dd { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.6; }
.sm-spec dd small { display: block; font-size: 13px; font-weight: 400; color: var(--sm-gray); margin-top: 4px; }
.sm-spec dd a { color: var(--sm-blue); }
.sm-spec-contact { margin-top: 24px; font-size: 13px; line-height: 1.9; color: var(--sm-gray); }
.sm-spec-contact a { color: var(--sm-blue); font-weight: 700; }
.sm-flyer { margin-top: 32px; }
.sm-flyer a.img { display: block; border: 1px solid var(--sm-line); border-radius: 12px; overflow: hidden; max-width: 360px; }
.sm-flyer a.img:hover { border-color: var(--sm-blue); }
.sm-flyer figcaption { margin-top: 10px; font-size: 12px; color: var(--sm-gray); }
.sm-flyer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.sm-form-col { grid-column: 7 / span 6; }
.sm-form-card { background: var(--sm-sky); border-radius: 20px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--sm-line); }
.sm-form-card h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.4; }
.sm-form-card .note { margin-top: 8px; font-size: 13px; color: var(--sm-gray); }
.sm-form { margin-top: 24px; }
.sm-field { margin-top: 18px; }
.sm-field label, .sm-field .lbl { display: block; font-size: 13px; font-weight: 700; color: var(--sm-navy); margin-bottom: 8px; }
.sm-req { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: var(--sm-red); color: #fff; font-size: 10px; font-weight: 800; vertical-align: middle; letter-spacing: 0.06em; }
.sm-opt { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: #fff; color: var(--sm-gray); font-size: 10px; font-weight: 700; vertical-align: middle; border: 1px solid var(--sm-line); }
.sm-field input[type="text"], .sm-field input[type="email"], .sm-field input[type="tel"], .sm-field input[type="number"], .sm-field select, .sm-field textarea {
    display: block; width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
    border: 1px solid rgba(31, 42, 68, 0.18); background: #fff; color: var(--sm-navy);
    font-family: inherit; font-size: 16px; line-height: 1.5; transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none; appearance: none;
}
.sm-field select { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F2A44' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.sm-field textarea { min-height: 140px; resize: vertical; }
.sm-field input:focus, .sm-field select:focus, .sm-field textarea:focus { border-color: var(--sm-blue); box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.18); outline: none; }
.sm-field input::placeholder, .sm-field textarea::placeholder { color: #9AA3B8; }
.sm-field input[type="number"] { max-width: 160px; }
.sm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sm-checks { display: grid; gap: 8px; }
.sm-check { display: flex !important; align-items: flex-start; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid rgba(31, 42, 68, 0.14); border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.55; margin: 0; transition: border-color 0.2s, background-color 0.2s; }
.sm-check:hover { border-color: var(--sm-blue); }
.sm-check:has(input:checked) { border-color: var(--sm-blue); background: #fff; box-shadow: inset 0 0 0 1px var(--sm-blue); }
.sm-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--sm-blue-deep); cursor: pointer; }
.sm-check small { display: block; font-size: 12px; font-weight: 500; color: var(--sm-gray); }
.sm-agree { margin-top: 22px; padding: 14px 16px; background: #fff; border-radius: 10px; font-size: 13px; line-height: 1.8; color: var(--sm-gray); }
.sm-agree label { display: flex !important; align-items: flex-start; gap: 10px; margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--sm-navy); cursor: pointer; }
.sm-agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--sm-blue-deep); flex: 0 0 auto; }
.sm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sm-submit { width: 100%; margin-top: 24px; font-size: 16px; min-height: 60px; }
.sm-submit[disabled] { opacity: 0.75; cursor: not-allowed; transform: none; }
.sm-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(31, 42, 68, 0.3); border-top-color: var(--sm-navy); border-radius: 50%; animation: sm-spin 0.7s linear infinite; }
@keyframes sm-spin { to { transform: rotate(360deg); } }
.sm-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-weight: 600; line-height: 1.7; font-size: 14px; }
.sm-status.is-visible { display: block; }
.sm-status.is-success { background: #E8F7EE; border: 1px solid #8FD3AA; color: #1B6B3A; }
.sm-status.is-error { background: #FDECEC; border: 1px solid #F0A5A5; color: var(--sm-red); }
/* ---- 入力チェック：必須の未入力・誤りを赤枠とメッセージで示す ---- */
.sm-field.is-invalid input, .sm-field.is-invalid select, .sm-field.is-invalid textarea { border-color: var(--sm-red); background: #FFF6F6; }
.sm-field.is-invalid input:focus, .sm-field.is-invalid select:focus, .sm-field.is-invalid textarea:focus { border-color: var(--sm-red); box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.18); }
fieldset.sm-field.is-invalid .sm-checks { padding: 10px; border: 1.5px solid var(--sm-red); border-radius: 12px; background: #FFF6F6; }
.sm-agree.is-invalid { box-shadow: inset 0 0 0 1.5px var(--sm-red); background: #FFF6F6; }
.sm-err { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 0; font-size: 12.5px; font-weight: 700; line-height: 1.6; color: var(--sm-red); }
.sm-err[hidden] { display: none; }
.sm-err::before { content: "!"; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--sm-red); color: #fff; font-size: 11px; line-height: 16px; text-align: center; }
.sm-checks-note { margin: 10px 0 0; font-size: 12.5px; font-weight: 500; line-height: 1.7; color: var(--sm-gray); }
/* 必須が揃うまでは送信ボタンを押せない（見た目も無効化） */
.sm-submit.is-disabled { opacity: 0.5; cursor: not-allowed; filter: saturate(0.6); transform: none !important; box-shadow: none !important; }
/* ボタン下の「足りない必須項目」一覧 */
.sm-missing { display: none; margin-top: 12px; padding: 12px 16px; border-radius: 10px; background: #fff; border: 1px dashed rgba(31, 42, 68, 0.3); font-size: 13px; line-height: 1.8; color: var(--sm-gray); }
.sm-missing.is-visible { display: block; }
.sm-missing b { color: var(--sm-navy); }
.sm-missing ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.sm-missing li a { display: inline-block; padding: 2px 12px; border-radius: 999px; background: rgba(31, 42, 68, 0.06); color: var(--sm-navy); font-weight: 700; text-decoration: none; }
.sm-missing li a:hover { background: rgba(30, 136, 229, 0.12); color: var(--sm-blue); }
.sm-missing.is-alert { border: 1px solid #F0A5A5; background: #FDECEC; color: var(--sm-red); }
.sm-missing.is-alert b { color: var(--sm-red); }
.sm-missing.is-alert li a { background: #fff; color: var(--sm-red); }
.sm-form-alt { margin-top: 18px; font-size: 12px; line-height: 1.8; color: var(--sm-gray); text-align: center; }
.sm-form-alt a { color: var(--sm-blue); font-weight: 700; }

/* ---- よくある質問 ---- */
.sm-faq-head { grid-column: 1 / span 4; }
.sm-faq { grid-column: 6 / span 7; border-top: 2px solid var(--sm-blue); }
.sm-faq > div { padding: 24px 0; border-bottom: 1px solid var(--sm-line); }
.sm-faq dt { font-family: var(--sm-head); font-size: clamp(16px, 1.4vw, 19px); font-weight: 700; line-height: 1.5; display: flex; gap: 12px; }
.sm-faq dt::before { content: "Q"; flex: 0 0 auto; color: var(--sm-blue-deep); font-weight: 800; }
.sm-faq dd { margin: 10px 0 0 26px; font-size: 14px; line-height: 1.95; color: var(--sm-gray); max-width: 40em; }

/* ---- 最後の呼びかけ（青の面） ---- */
.sm-final { background: linear-gradient(160deg, #1E88E5 0%, #1976D2 100%); color: #fff; padding: clamp(80px, 11vw, 160px) 0; }
.sm-final-copy { grid-column: 1 / span 9; }
.sm-final h2 { color: #fff; font-size: clamp(30px, 5vw, 68px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.sm-final h2 span { display: inline-block; }
.sm-final p { margin-top: 24px; font-size: 15px; line-height: 2; color: rgba(255, 255, 255, 0.88); max-width: 36em; }
.sm-final .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.sm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* スマホ下部の追従CTA */
.sm-sticky {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1020;
    display: none; align-items: center; justify-content: center; gap: 10px;
    text-align: center; text-decoration: none !important; font-weight: 700; font-size: 14px;
    background: var(--sm-yellow); color: var(--sm-navy) !important; padding: 16px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(31, 42, 68, 0.22);
}
.sm-sticky.is-hidden { display: none !important; }

/* ---- レスポンシブ ---- */
@media (max-width: 1199.98px) {
    .sm-facts dl { grid-template-columns: repeat(3, 1fr); }
    .sm-facts div:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
    .sm-hero-main { grid-column: 1 / span 7; }
    .sm-hero-photo { grid-column: 8 / span 5; }
}
@media (max-width: 991.98px) {
    :root { --sm-header-h: 89px; }
    .sm-hero-main, .sm-hero-photo { grid-column: 1 / -1; }
    .sm-hero-photo { margin-top: 36px; max-width: 420px; }
    .sm-about-head, .sm-about-body { grid-column: 1 / -1; }
    .sm-about-body { margin-top: 28px; }
    .sm-who { grid-template-columns: 1fr; }
    .sm-program-head, .sm-program { grid-column: 1 / -1; }
    .sm-program-head { margin-bottom: 36px; }
    .sm-program-head .sm-h2 { position: static; }
    .sm-lecturer-photo, .sm-lecturer-body { grid-column: 1 / -1; }
    .sm-lecturer-photo { max-width: 320px; }
    .sm-lecturer-body { margin-top: 28px; }
    .sm-spec-col, .sm-form-col { grid-column: 1 / -1; }
    .sm-form-col { margin-top: 48px; }
    .sm-faq-head, .sm-faq { grid-column: 1 / -1; }
    .sm-faq { margin-top: 36px; }
    .sm-final-copy { grid-column: 1 / -1; }
    .sm-page { padding-bottom: 80px; }
    .sm-sticky { display: flex; }
}
@media (max-width: 767.98px) {
    .sm-facts dl { grid-template-columns: 1fr 1fr; }
    .sm-facts div { padding-top: 18px; padding-bottom: 18px; }
    .sm-facts div:nth-child(3n + 1) { border-left: 1px solid rgba(255, 255, 255, 0.22); padding-left: 24px; }
    .sm-facts div:nth-child(odd) { border-left: 0; padding-left: 0; }
    .sm-cols { grid-template-columns: 1fr; }
    .sm-spec > div { grid-template-columns: 84px 1fr; }
    .sm-later li { grid-template-columns: 56px 1fr; }
}
@media (max-width: 479.98px) {
    .sm-hero-cta .sm-btn, .sm-final .btns .sm-btn, .sm-flyer-actions .sm-btn { width: 100%; }
    .sm-hero-dates { flex-direction: column; }
    .sm-date { flex-wrap: wrap; }
}

/* 動きを控える設定の人には、演出を止めて即表示 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sm-page *, .sm-page *::before, .sm-page *::after { animation: none !important; transition: none !important; }
    .sm-hero [data-in] { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   3. 紹介ページ：申込ページへの誘導カード（フォームは dx-ai-seminar-apply.php）
   ========================================================= */
.sm-cta-card { position: sticky; top: calc(var(--sm-header-h) + 32px); }
.sm-cta-steps { margin-top: 20px; border-top: 1px solid rgba(30, 136, 229, 0.25); }
.sm-cta-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid rgba(30, 136, 229, 0.25); font-size: 14px; line-height: 1.7; }
.sm-cta-steps .n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sm-blue-deep); color: #fff; font-family: var(--sm-head); font-size: 13px; font-weight: 800; margin-top: 2px; }
.sm-cta-steps b { display: block; font-weight: 700; color: var(--sm-navy); }
.sm-cta-steps span.d { display: block; font-size: 13px; color: var(--sm-gray); }
.sm-cta-card .sm-submit { text-decoration: none !important; }
@media (max-width: 991.98px) {
    .sm-cta-card { position: static; }
}

/* =========================================================
   4. 申込ページ（dx-ai-seminar-apply.php）
      チラシのQRから直接来る人向けに、要点だけを上にまとめてすぐフォームへ
   ========================================================= */
.sm-apply-hero { padding: clamp(32px, 4vw, 56px) 0 clamp(32px, 4vw, 48px); }
.sm-apply-hero .sm-hero-title { font-size: clamp(32px, 4.6vw, 56px); }
.sm-apply-hero .sm-hero-title small { display: block; font-size: 0.5em; font-weight: 700; color: var(--sm-blue-deep); letter-spacing: 0; margin-bottom: 4px; }
.sm-apply-hero-main { grid-column: 1 / span 8; }
.sm-apply-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.sm-apply-facts li { background: var(--sm-sky); border-radius: 14px; padding: 14px 18px; }
.sm-apply-facts dt, .sm-apply-facts .k { display: block; font-size: 12px; font-weight: 500; color: var(--sm-gray); }
.sm-apply-facts dd, .sm-apply-facts .v { display: block; margin: 4px 0 0; font-family: var(--sm-head); font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--sm-navy); }
.sm-apply-facts .v small { display: block; font-size: 12px; font-weight: 400; color: var(--sm-gray); margin-top: 2px; }
.sm-apply-body { padding: 0 0 clamp(72px, 9vw, 120px); border-top: 0; }
.sm-apply-body .sm-form-col { grid-column: 1 / span 7; }
.sm-apply-body .sm-spec-col { grid-column: 9 / span 4; }
.sm-apply-summary { border-top: 2px solid var(--sm-blue); }
.sm-apply-summary > div { padding: 18px 0; border-bottom: 1px solid var(--sm-line); }
.sm-apply-summary .no { display: inline-block; font-size: 12px; font-weight: 800; color: var(--sm-blue-deep); margin-right: 8px; }
.sm-apply-summary .d { font-family: var(--sm-head); font-size: 14px; font-weight: 700; }
.sm-apply-summary .d .dow { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--sm-navy); font-size: 11px; margin: 0 4px; vertical-align: middle; }
.sm-apply-summary h3 { margin-top: 6px; font-size: 16px; line-height: 1.5; }
.sm-apply-summary p { margin-top: 4px; font-size: 13px; color: var(--sm-gray); }
.sm-apply-summary ul.later { margin-top: 6px; }
.sm-apply-summary ul.later li { font-size: 14px; font-weight: 700; padding: 4px 0; }
.sm-apply-summary ul.later li .no { margin-right: 6px; }
.sm-apply-more { margin-top: 20px; }
@media (max-width: 991.98px) {
    .sm-apply-hero-main { grid-column: 1 / -1; }
    .sm-apply-facts { grid-template-columns: 1fr 1fr; }
    .sm-apply-body .sm-form-col, .sm-apply-body .sm-spec-col { grid-column: 1 / -1; }
    .sm-apply-body .sm-form-col { margin-top: 0; }
    .sm-apply-body .sm-spec-col { margin-top: 48px; }
}
@media (max-width: 479.98px) {
    .sm-apply-facts { grid-template-columns: 1fr; }
}

/* =========================================================
   5. Loose Drawing のイラスト（inc/ld-illust.php で出力）
      線は濃紺・アクセントは青に変換済み。枠や背景は付けず、余白の中にそのまま置く。
   ========================================================= */
.sm-ill { display: block; line-height: 0; }
.sm-ill img { width: 100%; height: auto; }

/* 見出し列の下に添える大きめの1点（このセミナーについて／よくある質問） */
.sm-about-head .sm-ill { margin-top: 32px; max-width: 320px; }
.sm-faq-head .sm-ill { margin-top: 28px; max-width: 260px; }

/* こんな方に：カードの上にイラスト（高さをそろえる） */
.sm-who .sm-ill { display: flex; align-items: flex-end; height: 120px; margin-bottom: 18px; }
.sm-who .sm-ill img { width: auto; max-width: 100%; max-height: 120px; }

/* 各回のカード：右側にイラスト、ポイント一覧は全幅 */
/* 各回のカード：上部にビジュアル（ユーザー提供画像を軽量化したもの）。カードの角丸に合わせて内側いっぱいに敷く */
.sm-session { --pad: clamp(24px, 3vw, 36px); padding: var(--pad); overflow: hidden; }
.sm-session-visual { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 22px; border-bottom: 1px solid var(--sm-line); background: #EAF4FD; }
.sm-session-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 50%; }

/* 第3回〜第5回：行頭に小さく */
.sm-later li { grid-template-columns: 48px 64px 1fr; align-items: center; }
.sm-later li .sm-ill { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.sm-later li .sm-ill img { width: auto; max-width: 48px; max-height: 48px; }

/* 申し込みの流れ：番号・イラスト・説明 */
.sm-cta-steps li { grid-template-columns: 32px 56px 1fr; align-items: center; }
.sm-cta-steps .sm-ill { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; }
.sm-cta-steps .sm-ill img { width: auto; max-width: 56px; max-height: 56px; }

/* 申込ページ：見出しの右にイラスト、開催概要タイルは左にアイコン */
.sm-apply-hero-ill { grid-column: 9 / span 4; align-self: end; justify-self: end; width: 100%; max-width: 300px; }
.sm-apply-facts li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.sm-apply-facts .sm-ill { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.sm-apply-facts .sm-ill img { width: auto; max-width: 44px; max-height: 44px; }
.sm-apply-facts .k, .sm-apply-facts .v { grid-column: 2; }
.sm-apply-summary > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.sm-apply-summary > div > .sm-thumb { grid-row: 1 / span 3; display: block; width: 88px; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; border: 1px solid var(--sm-line); margin-top: 3px; }
.sm-apply-summary > div > .sm-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sm-apply-summary > div > .sm-ill { grid-row: 1 / span 3; display: flex; align-items: center; justify-content: center; width: 88px; height: 60px; margin-top: 2px; }
.sm-apply-summary > div > .sm-ill img { width: auto; max-width: 64px; max-height: 60px; }
.sm-apply-summary > div > :not(.sm-ill):not(.sm-thumb) { grid-column: 2; }

/* 素材のクレジット（フッター下段のリンク） */
.footer .list-bottom .ld-credit a { color: var(--sm-gray-light); }

@media (max-width: 991.98px) {
    .sm-apply-hero-ill { grid-column: 1 / -1; justify-self: start; max-width: 220px; margin-top: 24px; }
}
@media (max-width: 767.98px) {
    .sm-apply-hero-ill { display: none; } /* チラシのQRから来た人には、すぐフォームを見せる */
    .sm-later li { grid-template-columns: 40px 56px 1fr; }
}
@media (max-width: 479.98px) {
    .sm-session-visual img { aspect-ratio: 16 / 9; }
    .sm-who .sm-ill { height: 96px; }
    .sm-who .sm-ill img { max-height: 96px; }
}
