@charset "UTF-8";
/* ==========================================================================
   オンライン個別指導ページ（kobetsu.html）専用
   exam-pages.css（受験対策ページ共通）を土台に、このページだけの部品を追加。
   すべて .kbt-page 配下に限定しています。
   ※申込フォーム（#mailForm）は見た目のみ調整。name/id/action等は変更していません。
   ========================================================================== */

.kbt-page {
  --page-accent: #0e7c86;
  --page-accent-dark: #0a5c64;
  --page-accent-light: #65c7d6;
  --page-soft: #e8f5f6;
}

.kbt-page .exam-section h3,
.kbt-page .exam-section h4 {
  letter-spacing: normal;
}
.kbt-page .kbt-left-head {
  margin-left: 0;
  text-align: left;
}

/* パンくず */
.kbt-page .kbt-breadcrumb {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
.kbt-page .kbt-breadcrumb li {
  margin: 0;
  font-size: 15px;
}
.kbt-page .kbt-breadcrumb li + li::before {
  margin: 0 .6em;
  content: ">";
}

/* ---------- ヒーロー ---------- */
.kbt-page .exam-hero h1 {
  font-size: clamp(38px, 3.9vw, 58px);
}
.kbt-page .kbt-hero-sub {
  margin: 20px 0 0;
  color: var(--exam-ink);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.7;
}
.kbt-page .kbt-hero-spec {
  width: min(100%, 520px);
  margin: 28px 0 0;
  background: #fff;
  border: 3px solid var(--exam-ink);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--page-accent);
}
.kbt-page .kbt-hero-spec > div {
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 12px;
}
.kbt-page .kbt-hero-spec > div + div {
  border-top: 1px dashed rgba(19, 34, 59, .25);
}
.kbt-page .kbt-hero-spec dt {
  color: var(--exam-muted);
  font-size: 14px;
  font-weight: 800;
}
.kbt-page .kbt-hero-spec dd {
  margin: 0;
  color: var(--exam-ink);
  font-size: 17px;
  font-weight: 900;
}
.kbt-page .kbt-hero-spec strong {
  margin: 0 2px;
  color: var(--page-accent-dark);
  font-family: Arial, sans-serif;
  font-size: 26px;
}
.kbt-page .kbt-hero-spec small {
  color: var(--exam-muted);
  font-size: 13px;
  font-weight: 700;
}
.kbt-page .exam-mv-visual > img {
  object-position: right center;
}

/* ---------- サービス ---------- */
.kbt-page .kbt-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.kbt-page .kbt-service-head h2 {
  margin: 0;
  color: var(--exam-ink);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.5;
}
.kbt-page .kbt-service-head p:not(.exam-eyebrow) {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 2.05;
}
.kbt-page .kbt-service-visual {
  margin: 0;
}
.kbt-page .kbt-service-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}
.kbt-page .kbt-subhead {
  margin: 72px 0 0;
  padding-bottom: 14px;
  color: var(--exam-ink);
  border-bottom: 2px solid var(--exam-ink);
  font-size: 21px;
  font-weight: 900;
}
.kbt-page .kbt-scope {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}
.kbt-page .kbt-scope li {
  padding: 22px 22px 8px 0;
}
.kbt-page .kbt-scope li + li {
  padding-left: 22px;
  border-left: 1px solid rgba(19, 34, 59, .14);
}
.kbt-page .kbt-scope b {
  color: var(--page-accent-dark);
  font-size: 18px;
}
.kbt-page .kbt-scope p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- 選ばれる理由 ---------- */
.kbt-page .kbt-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--exam-ink);
}
.kbt-page .kbt-reason {
  position: relative;
  padding: 30px 32px 30px 0;
  border-bottom: 1px solid rgba(19, 34, 59, .14);
}
.kbt-page .kbt-reason:nth-child(even) {
  padding-left: 32px;
  border-left: 1px solid rgba(19, 34, 59, .14);
}
.kbt-page .kbt-reason.is-lead {
  grid-column: 1 / -1;
  padding-right: 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  column-gap: 24px;
  align-items: start;
  background: linear-gradient(90deg, var(--page-soft), transparent 70%);
  padding-left: 24px;
}
.kbt-page .kbt-reason.is-lead .kbt-reason-num {
  grid-row: 1 / span 2;
  font-size: 64px;
}
.kbt-page .kbt-reason.is-lead h3 {
  font-size: 26px;
}
.kbt-page .kbt-reason:not(.is-lead):nth-child(even) {
  padding-left: 0;
  border-left: 0;
}
.kbt-page .kbt-reason:not(.is-lead):nth-child(odd) {
  padding-left: 32px;
  border-left: 1px solid rgba(19, 34, 59, .14);
}
.kbt-page .kbt-reason-num {
  display: block;
  color: var(--page-accent);
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}
.kbt-page .kbt-reason h3 {
  margin: 12px 0 8px;
  color: var(--exam-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}
.kbt-page .kbt-reason.is-lead h3 {
  margin-top: 4px;
}
.kbt-page .kbt-reason p {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
}

/* ---------- オンライン授業 ---------- */
.kbt-page .kbt-online {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 64px;
}
.kbt-page .kbt-online-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1.5;
}
.kbt-page .kbt-online-copy > p:not(.exam-eyebrow) {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 2;
}
.kbt-page .kbt-online-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.kbt-page .kbt-online-points li {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  font-size: 15px;
  line-height: 1.8;
}
.kbt-page .kbt-online-points strong {
  color: var(--exam-yellow);
  font-size: 15px;
}
.kbt-page .kbt-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 6px solid #fff;
  border-radius: 18px;
}
.kbt-page .kbt-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.kbt-page .kbt-video p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  text-align: center;
}

/* ---------- 料金 ---------- */
.kbt-page .kbt-price {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(19, 34, 59, .1);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(19, 34, 59, .1);
}
.kbt-page .kbt-price-main {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: var(--exam-ink);
}
.kbt-page .kbt-price-name {
  margin: 0;
  color: var(--exam-yellow);
  font-size: 17px;
  font-weight: 900;
}
.kbt-page .kbt-price-num {
  margin: 12px 0 0;
  font-size: 17px;
  font-weight: 800;
}
.kbt-page .kbt-price-num strong {
  margin: 0 4px;
  font-family: Arial, sans-serif;
  font-size: 52px;
  line-height: 1;
}
.kbt-page .kbt-price-num small {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}
.kbt-page .kbt-price-unit {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 18px;
  font-weight: 900;
}
.kbt-page .kbt-price-detail {
  padding: 36px 38px;
}
.kbt-page .kbt-price-detail h3 {
  margin: 0 0 12px;
  color: var(--exam-ink);
  font-size: 18px;
  font-weight: 900;
}
.kbt-page .kbt-price-detail ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}
.kbt-page .kbt-price-detail li {
  position: relative;
  padding-left: 26px;
  color: var(--exam-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}
.kbt-page .kbt-price-detail li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "✓";
  color: var(--page-accent);
  font-weight: 900;
}
.kbt-page .kbt-price-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.kbt-page .kbt-apply-link {
  color: var(--exam-ink) !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.kbt-page .kbt-price-more {
  margin: 26px 0 0;
  font-size: 15px;
  text-align: center;
}
.kbt-page .kbt-price-more a,
.kbt-page .kbt-purpose-note a,
.kbt-page .kbt-extra a,
.kbt-page .exam-faq-answer a {
  color: var(--exam-ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 流れ ---------- */
.kbt-page .kbt-flow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  counter-reset: none;
}
.kbt-page .kbt-flow li {
  position: relative;
  padding: 0 24px 0 0;
}
.kbt-page .kbt-flow li + li {
  padding-left: 24px;
}
.kbt-page .kbt-flow li::after {
  position: absolute;
  top: 17px;
  right: -8px;
  width: 16px;
  height: 16px;
  content: "";
  border-top: 3px solid var(--page-accent);
  border-right: 3px solid var(--page-accent);
  transform: rotate(45deg);
}
.kbt-page .kbt-flow li:last-child::after {
  display: none;
}
.kbt-page .kbt-flow span {
  padding: 6px 12px;
  display: inline-block;
  color: #fff;
  background: var(--exam-ink);
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.kbt-page .kbt-flow h3 {
  margin: 14px 0 8px;
  color: var(--exam-ink);
  font-size: 18px;
  font-weight: 900;
}
.kbt-page .kbt-flow p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- 講師 ---------- */
.kbt-page .exam-tutor-photos a {
  display: block;
  height: 100%;
}
.kbt-page .kbt-inline-links {
  margin-top: 24px;
}

/* ---------- 合格実績・声 ---------- */
.kbt-page .kbt-results {
  padding: 34px 40px;
  display: grid;
  grid-template-columns: .9fr 1.4fr auto;
  align-items: center;
  gap: 28px 40px;
  background: var(--exam-paper);
  border: 1px solid var(--exam-line);
  border-radius: 18px;
}
.kbt-page .kbt-results h2 {
  margin: 0;
  color: var(--exam-ink);
  font-size: 30px;
  font-weight: 900;
}
.kbt-page .kbt-results p:not(.exam-eyebrow) {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.8;
}
.kbt-page .kbt-results ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.kbt-page .kbt-results li {
  padding: 6px 12px;
  color: var(--exam-ink);
  background: #fff;
  border: 1px solid rgba(19, 34, 59, .15);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}
.kbt-page .kbt-results .exam-text-link {
  white-space: nowrap;
}
.kbt-page .kbt-voice-title {
  margin: 80px 0 28px;
  color: var(--exam-ink);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 900;
}
.kbt-page .kbt-voices {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 20px;
  align-items: start;
}
.kbt-page .kbt-voice {
  margin: 0;
  padding: 26px 24px;
  background: var(--page-soft);
  border-radius: 4px 20px 20px 20px;
}
.kbt-page .kbt-voice blockquote {
  margin: 0;
}
.kbt-page .kbt-voice blockquote p {
  margin: 0;
  color: var(--exam-ink);
  font-size: 15px;
  line-height: 1.95;
}
.kbt-page .kbt-voice figcaption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--exam-ink);
  font-size: 14px;
  font-weight: 900;
}
.kbt-page .kbt-voice figcaption img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

/* ---------- 目的別 ---------- */
.kbt-page .kbt-purpose {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 2px solid var(--exam-ink);
}
.kbt-page .kbt-purpose li + li {
  border-left: 1px solid rgba(19, 34, 59, .15);
}
.kbt-page .kbt-purpose a {
  padding: 22px 24px;
  display: block;
  color: var(--exam-text) !important;
  font-size: 15px;
  line-height: 1.7;
  transition: background-color .15s;
}
.kbt-page .kbt-purpose a:hover {
  background: #fff;
}
.kbt-page .kbt-purpose span {
  margin-bottom: 4px;
  display: block;
  color: var(--exam-ink);
  font-size: 20px;
  font-weight: 900;
}
.kbt-page .kbt-purpose span::after {
  margin-left: 8px;
  content: "→";
  color: var(--page-accent);
}
.kbt-page .kbt-purpose-note {
  margin: 20px 0 0;
  font-size: 15px;
}
.kbt-page .kbt-extra {
  margin-top: 56px;
  padding: 26px 30px;
  background: #fff;
  border: 1px dashed rgba(19, 34, 59, .25);
  border-radius: 14px;
}
.kbt-page .kbt-extra h3 {
  margin: 0;
  color: var(--exam-ink);
  font-size: 18px;
  font-weight: 900;
}
.kbt-page .kbt-extra p {
  margin: 8px 0 12px;
  font-size: 15px;
  line-height: 1.8;
}
.kbt-page .kbt-extra ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  list-style: none;
}
.kbt-page .kbt-extra li {
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- 無料体験＋フォーム ---------- */
.kbt-page .kbt-apply {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: 48px;
}
.kbt-page .kbt-apply-cta {
  padding-top: 20px;
}
.kbt-page .kbt-apply-cta h2 {
  margin: 0;
  color: var(--exam-ink);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.5;
}
.kbt-page .kbt-apply-cta p:not(.exam-eyebrow) {
  margin: 18px 0 26px;
  font-size: 16px;
  line-height: 2;
}
.kbt-page .kbt-form {
  padding: 36px 36px 32px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(19, 34, 59, .14);
}
.kbt-page .kbt-form > h2 {
  margin: 0;
  color: var(--exam-ink);
  font-size: 22px;
  font-weight: 900;
}
.kbt-page .kbt-form > p {
  margin: 8px 0 20px;
  font-size: 14px;
  line-height: 1.8;
}
.kbt-page #mailForm dl {
  margin: 0;
}
.kbt-page #mailForm dt {
  margin-top: 16px;
  color: var(--exam-ink);
  font-size: 15px;
  font-weight: 800;
}
.kbt-page #mailForm dt:first-child {
  margin-top: 0;
}
.kbt-page #mailForm dd {
  margin: 6px 0 0;
}
.kbt-page #mailForm input[type="text"],
.kbt-page #mailForm input[type="email"],
.kbt-page #mailForm input[type="tel"],
.kbt-page #mailForm select,
.kbt-page #mailForm textarea {
  width: 100%;
  max-width: none;
  padding: 12px 14px;
  color: var(--exam-ink);
  background: #fafbfc;
  border: 1px solid #c9d0da;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
}
.kbt-page #mailForm textarea {
  min-height: 140px;
  resize: vertical;
}
.kbt-page #mailForm input:focus,
.kbt-page #mailForm select:focus,
.kbt-page #mailForm textarea:focus {
  outline: 3px solid rgba(14, 124, 134, .3);
  border-color: var(--page-accent);
  background: #fff;
}
.kbt-page #mailForm .cp_ipselect {
  width: 100%;
  margin: 0;
}
.kbt-page #submit_button_cover {
  margin: 24px 0 0;
  text-align: center;
}
.kbt-page #mailForm #submit_button {
  width: 100%;
  min-height: 54px;
  padding: 0 24px;
  color: #fff;
  background: var(--exam-ink);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 6px 0 rgba(19, 34, 59, .2);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
  .kbt-page .kbt-scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kbt-page .kbt-scope li:nth-child(3) { padding-left: 0; border-left: 0; }
  .kbt-page .kbt-scope li:nth-child(n+3) { border-top: 1px solid rgba(19, 34, 59, .14); }
  .kbt-page .kbt-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .kbt-page .kbt-flow li:nth-child(3) { padding-left: 0; }
  .kbt-page .kbt-flow li:nth-child(2)::after { display: none; }
  .kbt-page .kbt-results { grid-template-columns: 1fr; }
  .kbt-page .kbt-voices { grid-template-columns: 1fr; max-width: 720px; }
  .kbt-page .kbt-apply { grid-template-columns: 1fr; }
}

@media (max-width: 885px) {
  .kbt-page .kbt-service,
  .kbt-page .kbt-online { grid-template-columns: 1fr; gap: 36px; }
  .kbt-page .kbt-service-visual { max-width: 560px; }
  .kbt-page .kbt-price { grid-template-columns: 1fr; }
  .kbt-page .kbt-reasons { grid-template-columns: 1fr; }
  .kbt-page .kbt-reason:not(.is-lead):nth-child(n) { padding: 24px 0; border-left: 0; }
  .kbt-page .kbt-purpose { grid-template-columns: 1fr; }
  .kbt-page .kbt-purpose li + li { border-left: 0; border-top: 1px solid rgba(19, 34, 59, .15); }
  .kbt-page .kbt-purpose a { padding: 18px 4px; }
}

@media (max-width: 560px) {
  .kbt-page .exam-hero h1 { font-size: clamp(28px, 8.4vw, 34px); }
  .kbt-page .kbt-breadcrumb li { font-size: 14px; }
  .kbt-page .kbt-hero-spec { box-shadow: 4px 4px 0 var(--page-accent); }
  .kbt-page .kbt-hero-spec > div { grid-template-columns: 48px 1fr; padding: 10px 14px; }
  .kbt-page .kbt-hero-spec dd { font-size: 15px; }
  .kbt-page .kbt-subhead { margin-top: 52px; font-size: 19px; }
  .kbt-page .kbt-scope { grid-template-columns: 1fr; }
  .kbt-page .kbt-scope li,
  .kbt-page .kbt-scope li + li { padding: 16px 0; border-left: 0; }
  .kbt-page .kbt-scope li + li { border-top: 1px solid rgba(19, 34, 59, .14); }
  .kbt-page .kbt-reason.is-lead { grid-template-columns: 1fr; padding: 24px 16px; }
  .kbt-page .kbt-reason.is-lead .kbt-reason-num { grid-row: auto; font-size: 44px; }
  .kbt-page .kbt-reason.is-lead h3 { font-size: 22px; margin-top: 10px; }
  .kbt-page .kbt-reason h3 { font-size: 18px; }
  .kbt-page .kbt-online-points li { grid-template-columns: 1fr; gap: 2px; }
  .kbt-page .kbt-price-main,
  .kbt-page .kbt-price-detail { padding: 28px 22px; }
  .kbt-page .kbt-price-num strong { font-size: 42px; }
  .kbt-page .kbt-price-actions .exam-button { width: 100%; }
  .kbt-page .kbt-flow { grid-template-columns: 1fr; gap: 26px; }
  .kbt-page .kbt-flow li,
  .kbt-page .kbt-flow li + li { padding: 0 0 0 16px; border-left: 3px solid var(--page-soft); }
  .kbt-page .kbt-flow li::after { display: none; }
  .kbt-page .kbt-results { padding: 26px 20px; }
  .kbt-page .kbt-voice-title { margin-top: 60px; }
  .kbt-page .kbt-extra { padding: 22px 18px; }
  .kbt-page .kbt-form { padding: 26px 18px 24px; border-radius: 16px; }
  .kbt-page .kbt-apply-cta .exam-button { width: 100%; }
}

/* 送信ボタン幅（既存CSSより優先） */
.kbt-page #submit_button_cover #submit_button { width: 100% !important; max-width: none !important; }
