:root {
  --white: #fff;
  --bg: #fffdfc;
  --blue-50: #f0f7fb;
  --blue-100: #e7f2f8;
  --blue: #2e87ca;
  --blue-700: #17699e;
  --navy: #0f2a4a;
  --pink-50: #fce7f0;
  --pink: #f75c98;
  --pink-600: #ed4085;
  --consult: #cf2f72;
  --consult-hover: #b5255d;
  --mint: #ddf3ec;
  --mint-600: #3ea994;
  --orange: #f29800;
  --orange-ink: #3b2600;
  --beige: #f8ede5;
  --purple: #efe9ff;
  --text: #333;
  --muted: #666;
  --line: #e9e4df;
  --shadow: 0 14px 40px rgba(15, 42, 74, .10);
  --shadow-soft: 0 8px 24px rgba(15, 42, 74, .08);
  --radius: 22px;
  --radius-card: 18px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  padding-bottom: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button, summary { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--blue-700); font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #f0a000; outline-offset: 3px; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 88px 0; position: relative; }
.tint { background: linear-gradient(180deg, #fff7f3 0%, #fffdfc 100%); }
.mobile-only { display: none; }
.desktop-only-section { display: block; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(20px, 4vw, 44px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,234,240,.8);
}
.brand { display: grid; gap: 0; min-width: 220px; }
.brand-kicker { font-size: 12px; color: var(--blue-700); font-weight: 700; letter-spacing: .03em; }
.brand-name { font-size: 24px; color: var(--pink-600); font-weight: 900; letter-spacing: .02em; }
.desktop-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 700; color: var(--navy); }
.desktop-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--blue-700); width: 42px; height: 42px; place-items: center; }
.menu-button span { display: block; width: 24px; height: 2px; background: currentColor; margin: 3px auto; border-radius: 999px; }
.menu-button b { display: block; font-size: 10px; line-height: 1; }
.mobile-menu { position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 10px; }
.mobile-menu a { display: block; padding: 12px 14px; border-radius: 12px; font-weight: 700; color: var(--navy); }
.mobile-menu a:hover { background: var(--blue-50); }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 52px; padding: 14px 24px; border-radius: 14px; font-weight: 900; border: 2px solid transparent; box-shadow: 0 6px 14px rgba(46,135,202,.12); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(46,135,202,.18); }
.btn-primary { color: #fff; background: var(--consult); box-shadow: 0 8px 18px rgba(232,62,133,.22); }
.btn-primary:hover { background: var(--consult-hover); box-shadow: 0 12px 26px rgba(207,47,114,.28); }
.btn-outline { color: var(--blue-700); border-color: var(--blue); background: #fff; }
.btn-small { min-height: 42px; padding: 10px 16px; font-size: 14px; box-shadow: none; }

.hero { padding-top: 56px; padding-bottom: 54px; overflow: hidden; background: linear-gradient(120deg, #fff 0%, #fff 46%, #f4f9ff 100%); }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; border-radius: 999px; pointer-events: none; }
.hero-bg::before { width: 420px; height: 420px; left: -170px; top: 70px; background: radial-gradient(circle, rgba(248,215,232,.9), rgba(255,255,255,0) 68%); }
.hero-bg::after { width: 560px; height: 280px; left: -120px; bottom: 0; background: repeating-radial-gradient(ellipse at 40% 50%, rgba(46,135,202,.18) 0 1px, transparent 2px 8px); opacity: .45; }
.hero-grid { display: grid; grid-template-columns: minmax(420px, .9fr) minmax(520px, 1.1fr); align-items: center; gap: 50px; }
.eyebrow { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--orange-ink); font-weight: 900; font-size: 14px; letter-spacing: .06em; }
h1 { margin: 20px 0 12px; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.22; letter-spacing: -.06em; color: #111; }
h1 .accent, h1 strong { color: var(--blue); }
.hero-course { color: var(--blue-700); font-size: 24px; font-weight: 900; margin: 0 0 10px; }
.lead { font-size: 18px; font-weight: 700; color: var(--navy); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--orange-ink); background: var(--orange); font-size: 12px; font-weight: 900; }
.hero-checks { margin: 22px 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 430px; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.hero-visual > img { width: 100%; height: 520px; object-fit: cover; object-position: center; }
.portfolio-mini { position: absolute; right: 18px; bottom: 18px; width: 230px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-soft); }
.portfolio-mini img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.portfolio-mini span { display: block; font-size: 12px; font-weight: 900; color: var(--blue-700); margin-top: 6px; }
.hero-info-wrap { margin-top: 28px; position: relative; z-index: 3; }
.hero-info { margin: 0; background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 24px; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.hero-info div { padding: 22px 26px; border-left: 1px solid var(--line); }
.hero-info div:first-child { border-left: 0; }
.hero-info dt { font-size: 13px; font-weight: 800; color: var(--navy); }
.hero-info dd { margin: 4px 0 0; font-size: 24px; font-weight: 900; color: #111; line-height: 1.35; }
.hero-info div:nth-child(2) dd { font-size: 15px; }

.section-head { text-align: center; max-width: 780px; margin: 0 auto 38px; }
.section-head.compact { margin-bottom: 28px; }
.section-number { display: inline-block; margin-bottom: 8px; font-size: 18px; font-weight: 900; color: var(--pink-600); letter-spacing: .05em; }
h2 { margin: 0; color: var(--navy); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.35; letter-spacing: -.04em; }
.section-head p { margin: 14px auto 0; color: var(--muted); font-weight: 600; }

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-soft); display: grid; gap: 14px; }
.icon-circle { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; font-size: 28px; color: #fff; font-weight: 900; }
.icon-circle.blue { background: var(--blue); }
.icon-circle.mint { background: var(--mint-600); }
.icon-circle.pink { background: var(--pink); }
.feature-card h3 { margin: 0; font-size: 20px; color: var(--blue-700); }
.feature-card p { margin: 0; color: var(--text); font-size: 15px; }

.field-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field-cards article { display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: center; min-width: 0; padding: 20px; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); }
.field-cards article:nth-child(2) { border-top-color: #1fae9a; }
.field-cards article:nth-child(3) { border-top-color: #e05287; }
.field-cards article:nth-child(4) { border-top-color: #d69238; }
.field-cards article:nth-child(5) { border-top-color: #8064d6; }
.field-cards article:nth-child(6) { border-top-color: #d86c78; }
.field-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.field-cards article:nth-child(2) .field-icon { background: var(--mint); color: #087366; }
.field-cards article:nth-child(3) .field-icon { background: #fff0f6; color: #d83d78; }
.field-cards article:nth-child(4) .field-icon { background: var(--beige); color: #a36212; }
.field-cards article:nth-child(5) .field-icon { background: var(--purple); color: #6847c2; }
.field-cards article:nth-child(6) .field-icon { background: #fff1f2; color: #c95564; }
.field-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field-cards h3 { margin: 0 0 10px; color: var(--navy); font-size: 16px; line-height: 1.5; }
.field-cards p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.field-note { max-width: 800px; margin: 20px auto 0; color: var(--muted); font-size: 13px; text-align: center; }

.works-grid { display: grid; grid-template-columns: minmax(420px, .95fr) minmax(520px, 1.05fr); gap: 24px; align-items: stretch; }
.work-card, .mini-work, .contact-card, .stat-card, .fee-card, .qual-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); }
.work-main { position: relative; overflow: hidden; }
.work-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ribbon { position: absolute; left: 0; top: 18px; background: var(--blue); color: #fff; font-weight: 900; padding: 8px 16px; border-radius: 0 999px 999px 0; font-size: 14px; }
.work-text { padding: 24px; }
.work-text h3 { margin: 0; font-size: 28px; color: #111; }
.work-text p { margin: 8px 0 16px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.tag-list li { padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; color: var(--blue-700); background: var(--blue-50); }
.work-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-work { padding: 12px; display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.mini-work img, .visual-placeholder { width: 120px; aspect-ratio: 4 / 3; border-radius: 12px; object-fit: cover; background: var(--blue-50); }
.mini-work h3 { margin: 0 0 4px; color: var(--navy); font-size: 17px; }
.mini-work p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.visual-placeholder { position: relative; overflow: hidden; border: 1px solid var(--line); }
.visual-placeholder::before { content: ""; position: absolute; inset: 16px; border-radius: 8px; background: linear-gradient(90deg, rgba(46,135,202,.18), rgba(248,215,232,.35)); }
.visual-placeholder::after { content: ""; position: absolute; inset: auto 18px 18px 18px; height: 42px; background: repeating-linear-gradient(0deg, rgba(15,42,74,.20) 0 3px, transparent 3px 10px); }
.visual-placeholder.service::before { background: linear-gradient(135deg, rgba(46,135,202,.12), rgba(248,215,232,.28), rgba(221,243,236,.8)); }
.visual-placeholder.data::before { background: conic-gradient(from 90deg, rgba(46,135,202,.55), rgba(221,243,236,.8), rgba(248,215,232,.55), rgba(246,239,230,.8), rgba(46,135,202,.55)); border-radius: 50%; width: 58px; height: 58px; inset: 18px auto auto 22px; }
.mobile-work-toggle { display: none; }
.note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }

.portfolio-section { background: linear-gradient(135deg, #f4f9fc 0%, #fffdfc 52%, #fff7f3 100%); }
.portfolio-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.portfolio-visual img { border-radius: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.portfolio-copy h2 { margin-bottom: 16px; }
.copy-large { color: var(--blue-700); font-size: 24px; font-weight: 900; line-height: 1.5; }
.portfolio-points { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.portfolio-points li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.86); box-shadow: 0 5px 16px rgba(15,42,74,.05); }
.portfolio-points li > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--blue-700); color: #fff; font-size: 12px; font-weight: 900; }
.portfolio-points li:nth-child(2) > span { background: var(--pink-600); }
.portfolio-points li:nth-child(3) > span { background: #6847c2; }
.portfolio-points h3 { margin: 0 0 3px; color: var(--navy); font-size: 15px; }
.portfolio-points p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.portfolio-goal { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--blue-700); color: #fff; }
.portfolio-goal span { padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13px; font-weight: 900; }
.portfolio-goal b { color: #f8a9ca; }
.portfolio-goal strong { font-size: 15px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-soft); }
.timeline span { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--orange-ink); font-weight: 900; font-size: 13px; }
.timeline h3 { color: var(--navy); margin: 16px 0 8px; }
.timeline p { margin: 0; color: var(--muted); }

.info-facts { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 18px; margin-bottom: 18px; }
.stat-card { display: grid; align-content: center; min-height: 130px; padding: 24px 26px; border-top: 4px solid var(--blue); }
.stat-card span { margin-bottom: 8px; color: var(--blue-700); font-size: 14px; font-weight: 900; }
.stat-card strong { color: var(--navy); font-size: 28px; line-height: 1.35; }
.target-card { border-top-color: var(--pink-600); }
.target-card strong { font-size: 18px; }
.info-detail-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; align-items: stretch; }
.fee-card, .qual-card { padding: 26px; }
.fee-card h3, .qual-card h3 { margin: 0 0 12px; color: var(--navy); }
.fee { color: var(--blue); font-size: 46px; line-height: 1; font-weight: 900; margin: 0 0 14px; }
.qual-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.qual-card li { background: var(--blue-50); border-radius: 14px; padding: 14px; }
.qual-card b { display: block; color: var(--blue-700); }
.qual-card span { display: block; font-size: 14px; color: var(--muted); }
.faq-block { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-soft); }
.faq-block h3 { margin: 0 0 14px; color: var(--navy); }
.accordion details { border-top: 1px solid var(--line); padding: 14px 0; }
.accordion details:first-child { border-top: 0; }
.accordion summary { cursor: pointer; font-weight: 900; color: var(--navy); display: flex; justify-content: space-between; gap: 14px; }
.accordion summary::after { content: "+"; color: var(--blue); font-size: 20px; line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion p { margin: 10px 0 0; color: var(--muted); }
.info-guidelines { display: flex; justify-content: center; margin-top: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-700); font-weight: 900; margin-top: 14px; }
.text-link::after { content: "→"; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.contact-section { background: #fff7f3; }
.lead-sm { font-size: 22px; font-weight: 900; color: var(--navy); }
.compact-list { margin-top: 18px; grid-template-columns: 1fr 1fr; }
.contact-card { padding: 28px; display: grid; gap: 14px; }
.contact-card address { font-style: normal; background: var(--blue-50); border-radius: 14px; padding: 16px; color: var(--navy); }
.contact-direct { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 900; }
.contact-card a:not(.btn) { color: var(--blue-700); font-weight: 900; }

.site-footer { background: var(--navy); color: #fff; padding: 36px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-grid nav { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.82); }
.sticky-cta { display: none; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .site-header { padding: 10px 20px; }
  .brand { min-width: auto; }
  .brand-name { font-size: 20px; }
  .header-actions .btn-small { display: none; }
  .menu-button { display: block; }
  .hero-grid, .works-grid, .portfolio-grid, .info-detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .info-facts { grid-template-columns: 1fr 1fr; }
  .target-card { grid-column: 1 / -1; }
  .hero-visual > img { height: 380px; }
  .hero-info { grid-template-columns: repeat(2, 1fr); }
  .hero-info div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .hero-info div:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-cards { grid-template-columns: 1fr; }
  .field-cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline article:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 48px 0; }
  .mobile-only { display: inline; }
  .desktop-only-section { display: none; }
  .brand-kicker { font-size: 10px; }
  .brand-name { font-size: 17px; }
  .site-header { gap: 12px; }
  .hero { padding-top: 28px; padding-bottom: 36px; }
  .hero-grid { gap: 18px; }
  .eyebrow { font-size: 12px; padding: 5px 10px; }
  h1 { margin-top: 12px; font-size: 34px; letter-spacing: -.04em; line-height: 1.25; }
  .hero-course { font-size: 20px; }
  .lead { font-size: 15px; }
  .hero-checks { display: none; }
  .hero-actions { display: grid; gap: 10px; }
  .btn { width: 100%; min-height: 54px; }
  .hero-visual { min-height: 0; border-radius: 20px; box-shadow: var(--shadow-soft); }
  .hero-visual > img { height: 225px; object-position: center; }
  .portfolio-mini { width: 128px; right: 8px; bottom: 8px; padding: 6px; border-radius: 12px; }
  .portfolio-mini span { font-size: 10px; }
  .hero-info-wrap { margin-top: 14px; }
  .hero-info { border-radius: 18px; box-shadow: var(--shadow-soft); }
  .hero-info div { padding: 14px 12px; }
  .hero-info dt { font-size: 11px; }
  .hero-info dd { font-size: 17px; }
  .hero-info div:nth-child(2) dd { font-size: 12px; }
  h2 { font-size: 25px; }
  .section-head { text-align: left; margin-bottom: 22px; }
  .section-head p { font-size: 14px; }
  .section-number { font-size: 18px; color: var(--pink-600); }
  .feature-card { grid-template-columns: 46px 1fr; gap: 12px; padding: 16px; align-items: center; }
  .feature-card .icon-circle { width: 46px; height: 46px; font-size: 20px; grid-row: span 2; }
  .feature-card h3 { font-size: 15px; }
  .feature-card p { font-size: 13px; }
  .field-cards { grid-template-columns: 1fr; gap: 10px; }
  .field-cards article { grid-template-columns: 46px 1fr; gap: 12px; padding: 15px 16px; }
  .field-icon { width: 46px; height: 46px; }
  .field-icon svg { width: 24px; height: 24px; }
  .field-cards h3 { margin-bottom: 4px; font-size: 14px; }
  .field-cards p { font-size: 12px; }
  .field-note { margin-top: 14px; font-size: 12px; text-align: left; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article:last-child { grid-column: auto; }
  .works-grid { gap: 14px; }
  .work-main img { aspect-ratio: 16 / 10; }
  .work-text { padding: 16px; }
  .work-text h3 { font-size: 21px; }
  .work-text p { font-size: 13px; }
  .tag-list li { font-size: 11px; }
  .ribbon { top: 10px; font-size: 12px; padding: 6px 12px; }
  .work-list { grid-template-columns: 1fr; gap: 10px; }
  .mini-work { grid-template-columns: 96px 1fr; padding: 10px; }
  .mini-work img, .visual-placeholder { width: 96px; }
  .mini-work h3 { font-size: 14px; }
  .mini-work p { font-size: 12px; }
  .mobile-hidden-work { display: none; }
  .work-list.expanded .mobile-hidden-work { display: grid; }
  .mobile-work-toggle { display: inline-flex; justify-content: center; width: 100%; border: 1px solid var(--blue); background: #fff; color: var(--blue-700); border-radius: 999px; min-height: 44px; margin-top: 14px; }
  .portfolio-grid { gap: 20px; }
  .portfolio-visual { order: 1; }
  .portfolio-copy { order: 2; }
  .portfolio-visual img { border-radius: 18px; }
  .copy-large { font-size: 19px; }
  .portfolio-copy p { font-size: 14px; }
  .portfolio-points { margin: 18px 0; }
  .portfolio-points li { padding: 12px; }
  .portfolio-points p { font-size: 12px; }
  .portfolio-goal { padding: 14px; }
  .portfolio-goal strong { width: 100%; font-size: 14px; }
  .info-facts, .info-detail-grid { gap: 12px; }
  .stat-card, .fee-card, .qual-card, .faq-block { padding: 18px; }
  .stat-card { min-height: 108px; }
  .stat-card strong { font-size: 24px; }
  .target-card strong { font-size: 16px; }
  .fee { font-size: 38px; }
  .qual-card li { padding: 12px; }
  .contact-grid { gap: 18px; }
  .lead-sm { font-size: 19px; }
  .compact-list { grid-template-columns: 1fr; font-size: 14px; }
  .contact-card { padding: 18px; }
  .site-footer { padding: 28px 0 88px; }
  .footer-grid { display: grid; }
  .footer-grid nav { display: grid; gap: 10px; }
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 -10px 26px rgba(15,42,74,.16); border-top: 1px solid var(--line); }
  .sticky-cta a { min-height: 58px; display: grid; place-items: center; font-weight: 900; color: #fff; }
  .sticky-primary { background: var(--consult); }
  .sticky-primary:hover { background: var(--consult-hover); }
  .sticky-secondary { background: var(--blue-700); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.no-break{white-space:nowrap;}

/* v2 image and hero fixes */
.no-break{white-space:nowrap;}
.mini-work img{
  width:120px;
  height:90px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 8px 18px rgba(15,42,74,.08);
}
@media (max-width: 760px){
  h1{font-size:38px;letter-spacing:-.04em;}
  .hero-info-wrap{margin-top:18px;}
  .mini-work img{width:96px;height:72px;}
}

/* v3 UI fixes: desktop/mobile separation for expandable UI */
.mobile-only-control,
.mobile-work-toggle {
  display: none;
}

@media (min-width: 641px) {
  .mobile-work-toggle,
  .mobile-only-control {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .mobile-work-toggle.mobile-only-control {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
}

/* =========================================================
   First-view refinement
========================================================= */
.hero {
  min-height: calc(100svh - 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(42px, 6vw, 76px);
  background: linear-gradient(118deg, #fffdfc 0%, #fffdfc 48%, #f4f9fc 48%, #fff7f3 100%);
}
.hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 68px); }
.hero-copy { position: relative; z-index: 2; }
.hero-course { margin: 14px 0 8px; color: var(--blue-700); font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .02em; }
.hero h1 { margin: 8px 0 22px; font-size: clamp(43px, 4.4vw, 64px); line-height: 1.16; letter-spacing: -.055em; }
.hero-title-line { display: inline-block; margin-right: .18em; }
.hero-title-accent { position: relative; display: inline-block; color: var(--blue); white-space: nowrap; z-index: 0; }
.hero-title-accent::after { content: ""; position: absolute; left: -.02em; right: -.02em; bottom: .03em; height: .18em; border-radius: 999px; background: var(--pink-50); z-index: -1; }
.hero .lead { max-width: 590px; margin-bottom: 20px; color: #35465c; font-size: clamp(16px, 1.45vw, 19px); font-weight: 600; line-height: 1.8; }
.hero .lead strong { color: var(--navy); background: linear-gradient(transparent 64%, var(--pink-50) 64%); }
.hero-concepts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.hero-concepts li { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 12px; border: 1px solid #dce7f5; border-radius: 999px; background: rgba(255,255,255,.8); color: var(--navy); font-size: 13px; font-weight: 800; }
.hero-concepts span { color: var(--pink-600); font-size: 10px; letter-spacing: .08em; }
.hero-actions .btn-primary { background: var(--consult); box-shadow: 0 10px 24px rgba(232,62,133,.24); }
.hero-actions .btn-primary:hover { background: var(--consult-hover); box-shadow: 0 14px 30px rgba(207,47,114,.3); }
.hero-action-note { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.hero-visual { min-height: 480px; border: 8px solid #fff; border-radius: 34px 34px 86px 34px; box-shadow: 0 24px 60px rgba(15,42,74,.15); }
.hero-visual > img { height: 500px; object-position: 52% center; }
.hero-visual-label { position: absolute; left: 18px; bottom: 18px; margin: 0; padding: 10px 16px; border-radius: 14px; background: rgba(15,42,74,.9); color: #fff; font-size: 14px; font-weight: 900; line-height: 1.3; backdrop-filter: blur(6px); }
.hero-visual-label span { display: block; margin-bottom: 2px; color: #bcd5ff; font-size: 9px; letter-spacing: .18em; }
.portfolio-mini { right: 18px; top: 18px; bottom: auto; width: 190px; }
.hero-info-wrap { margin-top: 32px; }
.hero-info { border-top: 4px solid var(--blue); }
.hero-info dt { color: var(--blue-700); letter-spacing: .03em; }
.hero-info dd { color: var(--navy); }

@media (max-width: 980px) {
  .hero { min-height: auto; background: linear-gradient(160deg, #fffdfc 0%, #fffdfc 56%, #f4f9fc 56%, #fff7f3 100%); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 0; }
  .hero-visual > img { height: auto; }
}

@media (max-width: 640px) {
  .hero { padding-top: 26px; background: linear-gradient(166deg, #fffdfc 0%, #fffdfc 61%, #f4f9fc 61%); }
  .hero-course { margin: 10px 0 7px; font-size: 17px; }
  .hero h1 { margin: 6px 0 16px; font-size: clamp(32px, 9.5vw, 38px); line-height: 1.2; }
  .hero-title-line { display: block; }
  .hero .lead { margin-bottom: 16px; font-size: 14px; line-height: 1.75; }
  .desktop-break { display: none; }
  .hero-concepts { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 20px; }
  .hero-concepts li { min-height: 34px; justify-content: flex-start; padding: 5px 11px; font-size: 12px; }
  .hero-action-note { margin: -2px 0 0; text-align: center; font-size: 10px; }
  .hero-visual { border-width: 5px; border-radius: 20px 20px 52px 20px; }
  .hero-visual > img { height: 222px; object-fit: cover; object-position: 52% center; }
  .hero-visual-label { left: 9px; bottom: 9px; padding: 7px 10px; border-radius: 10px; font-size: 11px; }
  .portfolio-mini { display: none; }
  .hero-info { border-top-width: 3px; }
  .hero-info div { min-width: 0; }
  .hero-info dd { overflow-wrap: anywhere; }
}

/* Official-site aligned header */
.site-header { min-height: 84px; padding: 0 0 0 clamp(18px, 2.6vw, 46px); gap: clamp(18px, 2vw, 34px); background: rgba(255,255,255,.97); }
.brand { min-width: 260px; align-content: center; }
.brand-kicker { margin-bottom: 2px; font-size: 10px; letter-spacing: .08em; }
.brand-row { display: flex; align-items: center; gap: 10px; color: var(--pink-600); line-height: 1; }
.brand-row > strong { font-size: 28px; font-weight: 900; letter-spacing: -.08em; }
.brand-row > span { display: grid; gap: 2px; font-size: 14px; font-weight: 900; letter-spacing: .02em; }
.brand-row b { color: var(--blue-700); font-size: 7px; letter-spacing: .12em; }
.desktop-nav { gap: clamp(12px, 1.25vw, 22px); font-size: 12px; white-space: nowrap; }
.desktop-nav a { position: relative; padding: 31px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 19px; height: 2px; background: var(--pink); transition: left .18s ease, right .18s ease; }
.desktop-nav a:hover::after { left: 0; right: 0; }
.header-actions { align-self: stretch; gap: 0; }
.header-official-cta { width: 104px; display: grid; place-items: center; align-content: center; background: var(--pink-600); color: #fff; text-align: center; font-size: 12px; font-weight: 900; line-height: 1.45; }
.header-official-cta.consultation { background: var(--blue); }
.header-official-cta:hover { filter: brightness(.94); }
.hero-title-ending { display: block; width: fit-content; white-space: nowrap; }

@media (max-width: 1240px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; margin: auto 14px; }
}

@media (max-width: 640px) {
  .site-header { min-height: 64px; padding: 7px 8px 7px 14px; }
  .brand { min-width: 0; margin-right: auto; }
  .brand-kicker { font-size: 7px; }
  .brand-row { gap: 6px; }
  .brand-row > strong { font-size: 21px; }
  .brand-row > span { font-size: 10px; }
  .brand-row b { font-size: 5px; }
  .header-official-cta { display: none; }
  .menu-button { margin: 0; }
  .hero-title-ending { margin-top: .02em; }
}

/* Official header reproduction (source: aichi-bc.jp common header) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 60px;
  min-height: 60px;
  padding: 0 28px;
  gap: 0;
  justify-content: space-between;
  background-color: rgba(255,255,255,.85);
  border-bottom: 0;
  backdrop-filter: none;
  transition: background-color .3s;
}
.site-header .brand { display: block; min-width: 0; line-height: 1; }
.site-header .brand img { width: 260px; height: auto; }
.site-header .desktop-nav { display: flex; align-items: center; justify-content: flex-end; width: calc(100% - 250px); gap: 0; margin-left: 0; color: #606060; font-size: 14px; }
.site-header .desktop-nav a { display: flex; position: relative; align-items: center; justify-content: center; height: 60px; margin-left: 20px; padding: 0; color: #606060; font-size: 15px; font-weight: 700; }
.site-header .desktop-nav a::after { display: none; }
.site-header .desktop-nav a:hover { color: #ff9000; }
.site-header .header-actions { display: none; height: 60px; }
.site-header .menu-button { display: none; }
.hero { padding-top: clamp(102px, 8vw, 126px); }

@media (max-width: 1130px) and (min-width: 769px) {
  .site-header .brand img { width: auto; }
  .site-header .desktop-nav a { margin-left: 14px; font-size: 14px; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 15px; }
  .site-header .brand img { width: auto; max-width: 214px; }
  .site-header .desktop-nav { display: none; }
  .site-header .header-actions { display: block; }
  .site-header .menu-button {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 102;
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #ff9000;
    color: #fff;
  }
  .site-header .menu-button span { position: absolute; right: 0; left: 0; width: 22px; height: 2px; margin: auto; background: currentColor; transition: top .3s, transform .3s, opacity .3s; }
  .site-header .menu-button span:nth-child(1) { top: 22px; }
  .site-header .menu-button span:nth-child(2) { top: 29px; }
  .site-header .menu-button span:nth-child(3) { top: 36px; }
  .site-header .menu-button[aria-expanded="true"] { background: #fff; color: #ff9000; }
  .site-header .menu-button[aria-expanded="true"] span:nth-child(1) { top: 29px; transform: rotate(45deg); }
  .site-header .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .site-header .menu-button[aria-expanded="true"] span:nth-child(3) { top: 29px; transform: rotate(-45deg); }
  .site-header .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    z-index: 101;
    width: 100%;
    height: 100svh;
    padding: 0 15px 80px;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: #f7dbcb;
    box-shadow: none;
  }
  .site-header .mobile-menu-logo { display: block; width: 90%; max-width: 315px; margin: auto; padding: 20px 15px 15px; border: 0; }
  .site-header .mobile-menu-logo img { width: 100%; max-width: 315px; }
  .site-header .mobile-menu > a:not(.mobile-menu-logo) { display: block; position: relative; padding: 16px 15px 9px; border-bottom: 1px solid #fff; border-radius: 0; color: #000; font-size: 14px; font-weight: 700; }
  .site-header .mobile-menu > a:not(.mobile-menu-logo)::after { content: "›"; position: absolute; right: 15px; color: #ff9000; font-size: 18px; }
  .site-header .mobile-menu > a:last-child { width: 165px; margin: 20px auto 0; padding: 8px 20px; border: 0; border-radius: 50px; background: #fff; box-shadow: 2px 2px 0 rgba(0,0,0,.1); color: #ff9000; text-align: center; }
  .hero { padding-top: 86px; }
}

/* Standalone-site header and hero adjustments */
.site-header { justify-content: flex-start; }
.hero-bg::before { display: none; }
.hero {
  background: linear-gradient(118deg, #fffdfc 0%, #fffdfc 48%, #f4f9fc 48%, #fff7f3 100%);
}
.portfolio-mini {
  top: auto;
  right: 18px;
  bottom: 18px;
}
@media (max-width: 980px) {
  .hero { background: linear-gradient(160deg, #fffdfc 0%, #fffdfc 56%, #f4f9fc 56%, #fff7f3 100%); }
}
@media (max-width: 640px) {
  .hero { background: linear-gradient(166deg, #fffdfc 0%, #fffdfc 61%, #f4f9fc 61%); }
}

/* Outcomes section refinement */
.works-section { background: linear-gradient(180deg, #fffdfc 0%, #f4f9fc 100%); }
.work-method { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr; align-items: center; max-width: 920px; margin: -6px auto 38px; padding: 18px 22px; border: 1px solid #dce7f5; border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); }
.work-method p { display: grid; gap: 2px; margin: 0; text-align: center; }
.work-method strong { color: var(--blue-700); font-size: 15px; }
.work-method span { color: var(--muted); font-size: 12px; }
.work-method i { color: var(--pink-600); font-size: 20px; font-style: normal; text-align: center; }
.works-grid { grid-template-columns: minmax(420px, 1.05fr) minmax(430px, .95fr); gap: 28px; }
.work-main { align-self: start; }
.work-main img { border-bottom: 1px solid var(--line); }
.work-detail { display: grid; gap: 8px; margin: 18px 0; }
.work-detail div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--blue-50); }
.work-detail div:nth-child(2) { background: var(--pink-50); }
.work-detail dt { color: var(--blue-700); font-size: 12px; font-weight: 900; }
.work-detail div:nth-child(2) dt { color: var(--pink-600); }
.work-detail dd { margin: 0; color: var(--navy); font-size: 13px; font-weight: 700; }
.work-list { grid-template-columns: 1fr; gap: 12px; }
.mini-work { min-height: 105px; padding: 10px; appearance: none; width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.mini-work:hover { transform: translateY(-2px); border-color: #a9c6ef; box-shadow: var(--shadow); }
.mini-work.is-selected { position: relative; border: 2px solid var(--blue); background: var(--blue-50); box-shadow: 0 10px 28px rgba(46,135,202,.15); }
.mini-work.is-selected::after { content: "選択中"; position: absolute; top: 8px; right: 9px; padding: 3px 7px; border-radius: 999px; background: var(--blue-700); color: #fff; font-size: 9px; font-weight: 900; }
.mini-work:focus-visible { outline: 3px solid #f0a000; outline-offset: 3px; }
.mini-work h3 { margin-top: 2px; }
.mini-work p { line-height: 1.55; }
.work-category { display: block; color: var(--pink-600); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.work-main { transition: opacity .18s ease, transform .18s ease; }
.work-main.is-changing { opacity: .35; transform: translateY(4px); }
.works-bridge { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 24px 28px; border-left: 5px solid var(--blue); border-radius: 0 18px 18px 0; background: #fff; box-shadow: var(--shadow-soft); }
.works-bridge p { max-width: 720px; margin: 0; color: var(--muted); }
.works-bridge strong { color: var(--navy); }
.works-bridge a { flex: 0 0 auto; color: var(--blue-700); font-size: 14px; font-weight: 900; text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 980px) {
  .works-grid { grid-template-columns: 1fr; }
  .work-main { width: min(100%, 680px); margin-inline: auto; }
  .work-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .work-method { grid-template-columns: 1fr; gap: 6px; margin: 0 auto 24px; padding: 14px; }
  .work-method p { padding: 8px; border-radius: 10px; background: var(--blue-50); }
  .work-method i { transform: rotate(90deg); font-size: 16px; line-height: 1; }
  .work-list { grid-template-columns: 1fr; }
  .work-detail div { grid-template-columns: 1fr; gap: 2px; }
  .works-bridge { display: grid; gap: 14px; margin-top: 20px; padding: 18px; }
  .works-bridge p { font-size: 13px; }
  .works-bridge a { font-size: 13px; }
}
