:root {
  --ink: #111827;
  --ink-soft: #334155;
  --navy: #071426;
  --navy-2: #0d2340;
  --blue: #2563eb;
  --blue-bright: #38bdf8;
  --red: #d7263d;
  --red-dark: #9f1527;
  --gold: #e9b949;
  --paper: #ffffff;
  --mist: #f3f6fa;
  --line: #dbe3ee;
  --muted: #64748b;
  --green: #047857;
  --max: 1180px;
  --measure: 760px;
  --shadow: 0 20px 50px rgba(7, 20, 38, .12);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-160%); background: #fff; color: #111; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), var(--measure)); margin-inline: auto; }
.eyebrow { margin: 0 0 10px; color: var(--red); font-size: .82rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow--light { color: #f9cf69; }
.kicker { color: var(--blue); font-weight: 900; }
.lead { max-width: 760px; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.note { color: var(--muted); font-size: .9rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.tag { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 5px 12px; font-size: .82rem; }

.event-strip { background: linear-gradient(90deg, var(--red-dark), var(--red)); color: #fff; }
.event-strip a { display: flex; align-items: center; justify-content: center; gap: 12px 22px; min-height: 45px; padding: 8px 20px; text-decoration: none; font-size: .9rem; }
.event-strip strong { color: #fff0bd; }
.event-strip__cta { border-radius: 999px; background: #fff; color: var(--red-dark); padding: 3px 13px; font-weight: 900; white-space: nowrap; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(7, 20, 38, .97); color: #fff; border-bottom: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(14px); }
.site-header__inner { display: flex; align-items: center; min-height: 76px; gap: 26px; }
.brand { display: inline-flex; flex-direction: column; flex: none; text-decoration: none; line-height: 1.15; }
.brand__main { font-size: 1.12rem; font-weight: 900; letter-spacing: .04em; }
.brand__sub { margin-top: 5px; color: #a8c1df; font-size: .66rem; letter-spacing: .09em; }
.site-nav { margin-left: auto; padding: 0; color: inherit; background: transparent; }
.site-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 10px 11px; border-radius: 8px; color: #dbeafe; text-decoration: none; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(56,189,248,.13); color: #fff; }
.site-nav .nav-contact { margin-left: 8px; background: var(--red); color: #fff; }
.site-nav .nav-contact:hover, .site-nav .nav-contact[aria-current="page"] { background: #f13a50; }
.menu-button { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: #fff; background: transparent; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; transition: .2s; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.breadcrumb { border-bottom: 1px solid var(--line); background: #f8fafc; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 10px 0; list-style: none; color: var(--muted); font-size: .78rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 7px; color: #94a3b8; }
.breadcrumb a { text-decoration: none; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 14%, rgba(56,189,248,.22), transparent 32%), linear-gradient(122deg, rgba(215,38,61,.18), transparent 45%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr); align-items: center; gap: clamp(32px, 7vw, 90px); min-height: 610px; padding-block: 72px; }
.hero h1, .page-hero h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.7rem); line-height: 1.2; letter-spacing: -.025em; }
.hero h1 em { color: #f5c85c; font-style: normal; }
.hero__copy { margin: 24px 0 0; max-width: 690px; color: #dbeafe; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero__actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__media { position: relative; align-self: end; }
.hero__media::before { content: ""; position: absolute; inset: 12% -8% -5% 8%; border: 1px solid rgba(56,189,248,.35); border-radius: 35% 35% 8% 8%; transform: rotate(2deg); }
.hero__media img { position: relative; width: 100%; max-height: 520px; object-fit: cover; object-position: center top; border-radius: 180px 180px 24px 24px; box-shadow: 0 30px 70px rgba(0,0,0,.38); }

.page-hero { position: relative; overflow: hidden; padding: 74px 0 70px; color: #fff; background: linear-gradient(125deg, var(--navy), #102e52); }
.page-hero::after { content: "AI"; position: absolute; right: -20px; bottom: -110px; color: rgba(255,255,255,.035); font-size: 24rem; font-weight: 900; line-height: 1; pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; max-width: 850px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.8rem); }
.page-hero p { max-width: 740px; margin: 22px 0 0; color: #dbeafe; font-size: 1.1rem; }

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--soft { background: var(--mist); }
.section--navy { color: #fff; background: var(--navy); }
.section--navy .lead, .section--navy .section-head p { color: #cbd5e1; }
.section-head { max-width: 780px; margin-bottom: 38px; }
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.35; letter-spacing: -.02em; }
.section-head p { margin: 16px 0 0; color: var(--ink-soft); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--speaking { max-width: 1080px; }
.section-head--speaking h2 { text-wrap: balance; }
.section-head--speaking p { max-width: 850px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 52px; padding: 12px 22px; border: 0; border-radius: 9px; background: var(--red); color: #fff; text-decoration: none; font-weight: 900; cursor: pointer; box-shadow: 0 8px 22px rgba(215,38,61,.25); }
.button:hover { background: #ef334b; }
.button--light { background: #fff; color: var(--navy); box-shadow: none; }
.button--light:hover { background: #dbeafe; }
.button--outline { border: 1px solid #94a3b8; background: transparent; color: inherit; box-shadow: none; }
.button--outline:hover { border-color: var(--blue); background: #eff6ff; color: var(--navy); }
.button--gold { background: var(--gold); color: #251a00; box-shadow: none; }
.button--gold:hover { background: #f5cc66; }
.text-link { color: var(--blue); font-weight: 800; text-underline-offset: 4px; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 28px rgba(15,23,42,.05); }
.card--dark { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.055); }
.card__number { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 30px; margin-bottom: 17px; border-radius: 8px; background: #eaf2ff; color: var(--blue); font-size: .78rem; font-weight: 900; }
.card h2, .card h3 { margin: 0 0 12px; font-size: 1.22rem; line-height: 1.5; }
.card p { margin: 0; color: var(--ink-soft); }
.card--dark p { color: #cbd5e1; }
.card__link { position: static; display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 900; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card__link::after { content: " →"; }
.service-card { display: flex; flex-direction: column; min-height: 100%; border-top: 5px solid var(--blue); }
.service-card:nth-child(2) { border-top-color: var(--gold); }
.service-card:nth-child(3) { border-top-color: var(--red); }
.service-card:nth-child(4) { border-top-color: var(--green); }
.service-card .card__link { margin-top: auto; padding-top: 20px; }
.service-card__label { margin-bottom: 12px; color: var(--muted); font-size: .76rem; font-weight: 900; letter-spacing: .09em; }

.event-card { display: grid; grid-template-columns: 170px minmax(0,1fr); overflow: hidden; padding: 0; border: 1px solid #f2cad0; }
.event-card__date { display: flex; flex-direction: column; justify-content: center; padding: 28px 24px; color: #fff; background: linear-gradient(150deg, var(--red-dark), var(--red)); text-align: center; }
.event-card__date small { font-size: .75rem; }
.event-card__date strong { font-size: 2.4rem; line-height: 1.1; }
.event-card__body { padding: 28px 30px; }
.event-card__body h2, .event-card__body h3 { margin: 0 0 10px; line-height: 1.45; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0; color: var(--ink-soft); font-size: .92rem; }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff1f2; color: var(--red-dark); font-size: .77rem; font-weight: 900; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); align-items: center; gap: clamp(34px, 7vw, 86px); }
.split--reverse > :first-child { order: 2; }
.photo-frame { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); background: #dbeafe; }
.photo-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.portrait-frame img { aspect-ratio: 4/5; object-position: center top; }
.check-list { display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.plain-list { padding-left: 1.3em; }
.related-site { display: flex; align-items: center; justify-content: space-between; gap: 34px; margin-top: 30px; padding: 28px 30px; border: 1px solid #f1d8a2; border-radius: var(--radius); background: linear-gradient(120deg, #fffaf0, #fff); box-shadow: 0 8px 28px rgba(15,23,42,.04); }
.related-site h3 { margin: 3px 0 8px; font-size: 1.35rem; }
.related-site p { margin: 0; color: var(--ink-soft); }
.related-site .eyebrow { color: #8a5b00; }
.related-site__action { flex: 0 0 auto; text-align: center; }
.related-site__action small { display: block; margin-top: 8px; color: var(--muted); font-size: .72rem; }
.plain-list li + li { margin-top: 8px; }
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.metric { padding: 22px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.metric strong { display: block; color: var(--red-dark); font-size: 1.65rem; line-height: 1.25; }
.metric span { color: var(--muted); font-size: .78rem; }
.logo-box { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.logo-box img { max-height: 70px; width: auto; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; counter-reset: step; list-style: none; }
.steps li { position: relative; padding: 24px 21px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px; color: var(--red); font-weight: 900; }
.steps h3 { margin: 0 0 8px; font-size: 1.02rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .91rem; }

.case { overflow: hidden; padding: 0; }
.case__image { aspect-ratio: 16/9; background: #dbeafe; }
.case__image img { width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: 26px; }
.case__type { color: var(--red); font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.case h2, .case h3 { margin: 7px 0 10px; line-height: 1.45; }

.callout { padding: 28px 30px; border-left: 5px solid var(--gold); border-radius: 0 16px 16px 0; background: #fff8e8; }
.callout h2, .callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.cta-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: 42px; border-radius: 22px; color: #fff; background: linear-gradient(125deg, #8f1022, var(--red)); box-shadow: var(--shadow); }
.cta-panel h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.35rem); }
.cta-panel p { margin: 10px 0 0; color: #ffe4e6; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 800; }
.faq details p { margin: 0; padding: 0 0 22px; color: var(--ink-soft); }
.prose h2 { margin: 2.5em 0 .7em; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.4; }
.prose h3 { margin: 2em 0 .6em; font-size: 1.2rem; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--blue); }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: 40px; }
.contact-aside { position: sticky; top: 110px; }
.line-button { background: #06c755; color: #fff; box-shadow: 0 8px 22px rgba(6,199,85,.2); }
.line-button:hover { background: #05aa49; }
.contact-form { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 800; }
.required, .optional { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; font-size: .7rem; }
.required { background: #ffe4e6; color: var(--red-dark); }
.optional { background: #e2e8f0; color: var(--ink-soft); }
.form-group input, .form-group select, .form-group textarea { width: 100%; min-height: 50px; border: 1px solid #b8c4d4; border-radius: 8px; background: #fff; color: var(--ink); padding: 11px 13px; }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-status { min-height: 1.6em; margin: 10px 0 0; color: var(--ink-soft); font-size: .9rem; }

.site-footer { padding: 62px 0 92px; color: #cbd5e1; background: #050d18; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 38px; }
.footer-brand { color: #fff; font-size: 1.1rem; font-weight: 900; }
.site-footer h2 { margin: 0 0 12px; color: #fff; font-size: .85rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 7px; }
.site-footer a { color: #cbd5e1; text-decoration: none; font-size: .84rem; }
.site-footer a:hover { color: #fff; }
.footer-note { margin: 20px 0 0; color: #94a3b8; font-size: .78rem; }
.mobile-cta { display: none; }

@media (max-width: 1050px) {
  .menu-button { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto; display: none; max-height: calc(100vh - 76px); overflow-y: auto; padding: 14px 20px 28px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.12); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
  .site-nav .nav-contact { margin: 8px 0 0; text-align: center; }
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(calc(100% - 32px), var(--max)); }
  .event-strip a { align-items: flex-start; flex-direction: column; gap: 1px; padding: 8px 16px; }
  .event-strip__cta { display: none; }
  .site-header__inner { min-height: 68px; }
  .site-nav { top: 68px; max-height: calc(100vh - 68px); }
  .brand__main { font-size: 1rem; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 54px 0; }
  .hero h1 { font-size: clamp(2.15rem, 12vw, 3.35rem); }
  .hero__media { width: min(88%, 480px); margin-inline: auto; }
  .hero__media img { max-height: 420px; }
  .page-hero { padding: 55px 0; }
  .page-hero::after { font-size: 13rem; bottom: -45px; }
  .card-grid, .card-grid--3, .card-grid--4, .split, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .related-site { align-items: flex-start; flex-direction: column; }
  .split--reverse > :first-child { order: initial; }
  .event-card { grid-template-columns: 1fr; }
  .event-card__date { align-items: center; flex-direction: row; gap: 8px; padding: 16px; }
  .event-card__date strong { font-size: 1.6rem; }
  .metric-row { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 30px 24px; }
  .contact-aside { position: static; }
  .contact-form { padding: 23px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-group--full { grid-column: auto; }
  .site-footer { padding-bottom: 110px; }
  .mobile-cta { position: fixed; z-index: 90; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; display: flex; }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border-radius: 10px; background: var(--red); color: #fff; text-decoration: none; font-weight: 900; box-shadow: 0 10px 30px rgba(7,20,38,.3); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .actions, .hero__actions { flex-direction: column; }
  .button { width: 100%; }
  .card-grid--4, .card-grid--3, .steps { grid-template-columns: 1fr; }
  .card { padding: 23px 20px; }
  .event-card__body { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .event-strip, .site-header, .mobile-cta { display: none !important; }
  .section, .page-hero { padding-block: 30px; }
  body { color: #000; background: #fff; }
}
