:root {
  --corporate: #0A2463;
  --accent: #E58100;
  --kousi-blue: #0044a8;
  --kousi-sky: #00a0d9;
  --bg-base: #F7F9FC;
  --bg-section: #FFFFFF;
  --text-main: #333333;
  --text-dark: #1A1A1A;
  --border-light: #E5EAF1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background: #fff;
  line-height: 1.8;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.kousi-page { background: #fff; }
.kousi-container { width: min(1040px, 92%); margin-inline: auto; }
.kousi-narrow { width: min(860px, 92%); }
.kousi-section { padding: 76px 0; }
.kousi-heading {
  text-align: center;
  color: var(--corporate);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 900;
  line-height: 1.45;
  margin: 0 0 34px;
  position: relative;
}
.kousi-heading::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--corporate);
}
.kousi-heading--alert::before {
  content: "⚠";
  color: #e6a100;
  font-size: 1.2em;
  margin-right: .35em;
}
.kousi-lead { text-align: left; font-size: 16px; line-height: 2; margin: 0 auto 32px; }

.kousi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.4;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.kousi-btn:hover { transform: translateY(-2px); opacity: .92; }
.kousi-btn--primary { background: #001cb8; color: #fff; box-shadow: 0 8px 18px rgba(0, 28, 184, .22); }

/* Hero */
.kousi-hero {
  position: relative;
  overflow: hidden;
  background: #eaf4ff;
  min-height: 420px;
}
.kousi-hero picture,
.kousi-hero picture img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.kousi-hero__content {
  position: absolute;
  top: 52%;
  left: max(5vw, calc((100vw - 1040px) / 2));
  transform: translateY(-50%);
  width: min(460px, 86vw);
  padding: 22px 26px;
  color: #111;
}
.kousi-hero__label { font-size: 24px; font-weight: 900; margin: 0 0 6px; }
.kousi-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.2; margin: 0 0 18px; font-weight: 900; }
.kousi-hero__lead { font-size: 17px; line-height: 1.9; margin: 0 0 22px; }

/* Problem */
.kousi-problems { padding-top: 68px; padding-bottom: 64px; }
.kousi-problems__grid { display: grid; grid-template-columns: 1.1fr 300px; gap: 42px; align-items: center; }
.kousi-mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.kousi-mini-list li {
  border: 1px solid #e6edf7;
  background: #fff;
  padding: 13px 18px;
  text-align: center;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 5px 12px rgba(0,0,0,.04);
}
.kousi-problems__image img { border-radius: 4px; }
.kousi-blue-band { background: #003c9f; color: #fff; padding: 28px 0; text-align: center; }
.kousi-blue-band p { margin: 0; font-size: clamp(20px, 3vw, 30px); font-weight: 900; line-height: 1.6; }

/* About */
.kousi-text-block { text-align: center; font-size: 16px; line-height: 2.1; }
.kousi-text-block p { margin: 0 0 18px; }
.kousi-wide-image { margin: 36px auto 0; max-width: 720px; }
.kousi-wide-image img { width: 100%; border-radius: 3px; }
.kousi-support-title { background: #003c9f; color: #fff; text-align: center; padding: 18px 0; }
.kousi-support-title p { margin: 0; font-size: clamp(18px, 2.5vw, 26px); font-weight: 900; }

/* Themes */
.kousi-themes { padding-top: 54px; }
.kousi-theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.kousi-theme-card { background: #fff; }
.kousi-theme-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kousi-theme-card__body { padding: 18px 4px 0; }
.kousi-theme-card h3 { margin: 0 0 8px; text-align: center; font-size: 20px; color: #111; font-weight: 800; }
.kousi-theme-card p { margin: 0 0 6px; font-weight: 700; }
.kousi-theme-card ul { margin: 0; padding-left: 1.25em; font-size: 14px; line-height: 1.8; }
.kousi-center-note { text-align: center; margin: 36px 0 0; font-weight: 700; }

/* Features */
.kousi-features { background: #fff; }
.kousi-feature-list { display: grid; gap: 22px; }
.kousi-feature-item { display: grid; grid-template-columns: 90px 1fr; gap: 24px; align-items: center; }
.kousi-feature-item img { width: 72px; height: 72px; object-fit: contain; margin-inline: auto; }
.kousi-feature-item h3 { margin: 0 0 6px; font-size: 20px; color: #111; font-weight: 900; }
.kousi-feature-item p { margin: 0; font-size: 16px; line-height: 1.9; }
.kousi-recommend-box { border: 2px solid #001cb8; padding: 24px 28px; margin-top: 42px; }
.kousi-recommend-box h3 { text-align: center; color: var(--corporate); margin: 0 0 16px; font-size: 22px; }
.kousi-recommend-box ul { margin: 0; padding-left: 1.25em; }
.kousi-inline-cta { margin-top: 32px; display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; }
.kousi-inline-cta p { margin: 0; font-weight: 800; }

/* Speakers */
.kousi-speakers { background: #fff; }
.kousi-speaker-card { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid #e7eef6; }
.kousi-speaker-card:last-child { border-bottom: 1px solid #e7eef6; }
.kousi-speaker-card img { width: 130px; height: 160px; object-fit: cover; border-radius: 3px; }
.kousi-speaker-card h3 { margin: 0 0 10px; font-size: 24px; font-weight: 900; color: #111; }
.kousi-speaker-card p { margin: 0 0 12px; font-size: 17px; line-height: 1.9; }
.kousi-topic { border-top: 1px dashed #d4dce8; padding-top: 12px; font-size: 16px; line-height: 1.9; }

/* Cases */
.kousi-cases { background: #fff; }
.kousi-case-list { display: grid; gap: 18px; }
.kousi-case-list article { border: 1px solid #dbe5f3; border-left: 4px solid #0054c7; padding: 20px 24px; background: #fff; }
.kousi-case-list h3 { color: var(--corporate); font-size: 18px; margin: 0 0 8px; font-weight: 900; }
.kousi-case-list p { margin: 0; font-size: 17px; line-height: 1.9; }

/* Flow */
.kousi-flow { background: #fff; }
.kousi-flow-list { display: grid; gap: 24px; }
.kousi-flow-list article { display: grid; grid-template-columns: 90px 1fr; gap: 22px; align-items: start; }
.kousi-flow-list span {
  width: 76px; height: 76px; border-radius: 50%; background: #00a0d9; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px;
}
.kousi-flow-list h3 { margin: 0 0 6px; font-size: 20px; font-weight: 900; color: #111; }
.kousi-flow-list p { margin: 0; font-size: 17px; line-height: 1.9; }

/* FAQ */
.kousi-faq { background: #fff; }
.kousi-faq-list { display: grid; gap: 12px; }
.kousi-faq-list details { border-bottom: 1px solid #e4eaf3; padding: 10px 0 16px; }
.kousi-faq-list summary { cursor: pointer; font-weight: 900; color: #111; list-style: none; }
.kousi-faq-list summary::-webkit-details-marker { display:none; }
.kousi-faq-list summary::before { content: "Q"; color: #fff; background: #001cb8; border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; margin-right: 10px; font-size: 13px; }
.kousi-faq-list p { margin: 10px 0 0 34px; font-size: 17px; line-height: 1.9; }

/* CTA */
/* CTA：無料相談受付中 */
.kousi-cta {
  background: #EFF4FF;
  padding: 64px 0 72px;
  color: var(--corporate);
  text-align: center;
}

.kousi-cta__inner {
  width: min(860px, 92%);
  margin-inline: auto;
}

.kousi-cta__title {
  margin: 0 0 28px;
  color: var(--corporate);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.kousi-cta__phone-wrap {
  text-align: center;
  margin: 0 auto 28px;
}

.kousi-cta__phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 420px;
  max-width: 100%;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #001cb8;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 28, 184, .22);
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.kousi-cta__phone-button:hover,
.kousi-cta__phone-button:focus-visible {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 28, 184, .28);
}

.kousi-cta__phone-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-right: 16px;
  margin-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, .45);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.kousi-cta__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  color: #001cb8;
  font-size: 11px;
  line-height: 1;
}

.kousi-cta__phone-number {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}

.kousi-cta__time {
  margin: 10px 0 0;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.kousi-cta__small {
  margin: 0 auto 28px;
  color: #333;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
}

.kousi-cta__form-wrap {
  width: min(760px, 100%);
  margin: 32px auto 0;
  background: #fff;
}

.kousi-cta__form-wrap iframe {
  width: 100%;
  max-width: 100%;
  border: none;
  display: block;
}

@media (max-width: 640px) {
  .kousi-cta {
    padding: 48px 0 56px;
  }

  .kousi-cta__title {
    font-size: 26px;
    margin-bottom: 22px;
  }

  .kousi-cta__phone-button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 10px 14px;
  }

  .kousi-cta__phone-label {
    padding-right: 12px;
    margin-right: 12px;
    font-size: 12px;
  }

  .kousi-cta__phone-number {
    font-size: 20px;
  }

  .kousi-cta__form-wrap {
    margin-top: 28px;
  }
}

@media (max-width: 380px) {
  .kousi-cta__phone-button {
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
  }

  .kousi-cta__phone-label {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
  }
}

/* 運営者情報 */
.kousi-company {
  background: #fff;
}

.kousi-company .company-info {
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e7eef6;
}

.kousi-company .company-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.kousi-company .company-text h2 {
  margin: 0 0 8px;
}

.kousi-company .company-text h3 {
  margin: 0 0 18px;
  color: var(--corporate);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 900;
}

.kousi-company .company-text p {
  font-size: 17px;
  line-height: 1.95;
  margin: 0 0 16px;
}

.kousi-company .company-text p:last-child {
  margin-bottom: 0;
}

.kousi-company .company-image {
  align-self: start;
  justify-self: center;
}

.kousi-company .company-image img {
  width: 260px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .kousi-company .company-grid {
    grid-template-columns: 1fr;
  }

  .kousi-company .company-image {
    order: -1;
    justify-self: center;
    margin-bottom: 8px;
  }

  .kousi-company .company-image img {
    width: 220px;
  }
}

@media (max-width: 900px) {
  .kousi-hero { min-height: 520px; }
  .kousi-hero picture img { min-height: 520px; }
  .kousi-hero__content { top: 58%; left: 50%; transform: translate(-50%, -50%); text-align: center; background: rgba(255,255,255,.78); border-radius: 14px; }
  .kousi-problems__grid, .kousi-theme-grid, .kousi-cta__box, .kousi-company-card { grid-template-columns: 1fr; }
  .kousi-problems__image { max-width: 320px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .kousi-section { padding: 56px 0; }
  .kousi-heading { font-size: 22px; margin-bottom: 26px; }
  .kousi-hero__label { font-size: 18px; }
  .kousi-hero h1 { font-size: 32px; }
  .kousi-hero__lead { font-size: 14px; }
  .kousi-mini-list li { text-align: left; }
  .kousi-feature-item, .kousi-speaker-card, .kousi-flow-list article { grid-template-columns: 1fr; text-align: left; }
  .kousi-feature-item img, .kousi-flow-list span { margin-inline: auto; }
  .kousi-speaker-card img { width: 150px; height: 150px; margin-inline: auto; }
  .kousi-inline-cta { display: block; text-align: center; }
  .kousi-inline-cta .kousi-btn { margin-top: 12px; width: 100%; }
  .kousi-cta__box { padding: 18px; border-width: 5px; }
  .kousi-cta__tel { font-size: 24px; }
  .kousi-company-card { padding: 20px; }
}

/* =========================
   修正：現行LPに近づける調整
   1. FVのタイトル折り返し防止
   2. サービスご利用の流れをPC/SPともに横並び表示
========================= */

/* FV：タイトルが「サ／ービス」のように割れないよう調整 */
.kousi-hero__content {
  width: min(520px, 92vw);
  padding: 18px 22px;
}

.kousi-hero__label {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
}

.kousi-hero h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.18;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.kousi-hero__lead {
  max-width: 420px;
}

/* Flow：オリジナルLPのように、丸いSTEPを左・本文を右に配置 */
.kousi-flow-list {
  width: min(760px, 92%);
  margin-inline: auto;
  gap: 28px;
}

.kousi-flow-list article,
.kousi-flow-list article:nth-child(n) {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  text-align: left;
}

.kousi-flow-list span {
  width: 72px;
  height: 72px;
  margin-inline: 0;
  flex-shrink: 0;
  align-self: start;
}

.kousi-flow-list h3 {
  margin-top: 4px;
  line-height: 1.5;
}

.kousi-flow-list p {
  max-width: none;
  width: 100%;
  line-height: 1.85;
}

@media (max-width: 900px) {
  .kousi-hero__content {
    width: min(420px, 88vw);
  }
}

@media (max-width: 640px) {
  .kousi-hero__content {
    width: min(360px, 88vw);
    padding: 18px 18px;
  }

  .kousi-hero h1 {
    font-size: clamp(28px, 8.2vw, 36px);
    white-space: nowrap;
  }

  .kousi-flow-list {
    width: min(520px, 92%);
    gap: 24px;
  }

  .kousi-flow-list article,
  .kousi-flow-list article:nth-child(n) {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    text-align: left;
  }

  .kousi-flow-list span {
    width: 64px;
    height: 64px;
    margin-inline: 0;
    font-size: 13px;
  }

  .kousi-flow-list h3 {
    font-size: 18px;
    margin-top: 2px;
  }

  .kousi-flow-list p {
    font-size: 13.5px;
    line-height: 1.75;
  }
}

@media (max-width: 390px) {
  .kousi-hero h1 {
    font-size: 28px;
  }

  .kousi-flow-list article,
  .kousi-flow-list article:nth-child(n) {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }

  .kousi-flow-list span {
    width: 56px;
    height: 56px;
    font-size: 12px;
  }
}

/* ===== Flow final fix: keep title and body in the right column ===== */
.kousi-flow-list article {
  display: grid !important;
  grid-template-columns: 84px minmax(0, 1fr) !important;
  column-gap: 22px !important;
  row-gap: 6px !important;
  align-items: start !important;
}

.kousi-flow-list article > span {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
}

.kousi-flow-list article > h3 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 4px 0 4px !important;
}

.kousi-flow-list article > p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  white-space: normal !important;
}

@media (max-width: 640px) {
  .kousi-flow-list article {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    column-gap: 16px !important;
  }
}

@media (max-width: 390px) {
  .kousi-flow-list article {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    column-gap: 12px !important;
  }
}

/* =========================
   講師紹介LP：事務局代行LP寄せの全体調整
========================= */

body {
  font-size: 17px;
  line-height: 1.9;
}

/* セクション全体の縦余白を少し詰める */
section {
  scroll-margin-top: 100px;
}

/* 本文エリアを少し締める */
.kousi-section,
section.py-24 {
  padding-top: 72px;
  padding-bottom: 72px;
}

/* 見出しを少し大きく、強く */
section h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.45;
  font-weight: 900;
}

/* 本文を底上げ */
section p,
section li {
  font-size: 17px;
  line-height: 1.9;
}

/* 小さめTailwind指定を少し底上げ */
.text-sm {
  font-size: 15px !important;
}

.text-base {
  font-size: 16.5px !important;
}

.text-lg {
  font-size: 18px !important;
}

.text-xl {
  font-size: 21px !important;
}

/* 主要コンテンツ幅をやや狭めて読みやすく */
.max-w-4xl {
  max-width: 920px !important;
}

.max-w-5xl {
  max-width: 980px !important;
}

/* カード内の文字が小さく見えないように */
.kousi-flow-list p,
.kousi-faq-list p,
.kousi-speaker-card p,
.kousi-case-card p,
.kousi-theme-card p {
  font-size: 17x;
  line-height: 1.9;
}

/* =========================
   講師紹介LP：電話ボタンを事務局LPと同じデザインに調整
========================= */
.kousi-cta__phone-wrap {
  text-align: center;
  margin: 14px auto 28px;
}

.kousi-cta__phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 310px;
  max-width: 100%;
  height: 48px;
  min-height: 0;
  padding: 0 22px;
  border: 3px solid #00178c;
  border-radius: 999px;
  background: #fff;
  color: #00178c;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 23, 140, .18);
  transition: background .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    transform .2s ease,
    border-color .2s ease;
}

.kousi-cta__phone-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 18px;
  margin-right: 18px;
  border-right: 1px solid rgba(0, 23, 140, .22);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.kousi-cta__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e58100;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.kousi-cta__phone-number {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
  transform: translateY(0);
}

.kousi-cta__time {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  font-weight: 700;
}

.kousi-cta__phone-button:hover,
.kousi-cta__phone-button:focus-visible {
  background: #00178c;
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 23, 140, .26);
  transform: translateY(-1px);
}

.kousi-cta__phone-button:hover .kousi-cta__phone-label,
.kousi-cta__phone-button:focus-visible .kousi-cta__phone-label {
  border-right-color: rgba(255,255,255,.32);
}

.kousi-cta__phone-button:hover .kousi-cta__phone-icon,
.kousi-cta__phone-button:focus-visible .kousi-cta__phone-icon {
  background: #fff;
  color: #00178c;
}

@media (max-width: 520px) {
  .kousi-cta__phone-wrap {
    margin: 12px auto 24px;
  }

  .kousi-cta__phone-button {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 50px;
    padding: 10px 14px;
  }

  .kousi-cta__phone-label {
    padding-right: 12px;
    margin-right: 12px;
    font-size: 12px;
  }

  .kousi-cta__phone-number {
    font-size: 20px;
  }
}

@media (max-width: 380px) {
  .kousi-cta__phone-button {
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
  }

  .kousi-cta__phone-label {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
  }
}

