/* ============================================================
   youtube.yis-web.com 共通スタイル
   B2B・信頼感・モバイルファースト・1カラム
   ①LP：ネイビー基調＋オレンジCTA／②LP：深緑アクセント
   ============================================================ */

:root {
  --navy: #16283f;
  --navy-deep: #0e1b2c;
  --ink: #26303c;
  --muted: #5a6675;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --line: #dfe5ec;
  --cta: #e97b26;
  --cta-dark: #cf6717;
  --sub: #16283f;      /* セクションアクセント（①=ネイビー） */
  --sub-soft: #e9eef5; /* アクセント淡色背景 */
}

/* ②LPは深緑アクセントで区別 */
body.lp2 {
  --sub: #1d5a45;
  --sub-soft: #e8f1ed;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sub);
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- ヘッダー ---------------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-brand {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
}

.header-cta {
  flex-shrink: 0;
  display: inline-block;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 9px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--cta-dark);
}

/* ---------------- FV ---------------- */

.fv {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 64px 0 56px;
}

.fv-catch {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.55;
  margin-bottom: 24px;
}

.fv-lead {
  font-size: 1rem;
  color: #dbe3ee;
  margin-bottom: 8px;
}

.fv .cta-block {
  margin-top: 32px;
}

.fv .cta-note {
  color: #b9c5d6;
}

.fv-list {
  list-style: none;
  margin: 20px 0 8px;
}

.fv-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 10px;
  color: #dbe3ee;
}

.fv-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cta);
  font-weight: 700;
}

.fv-note {
  font-size: 0.85rem;
  color: #b9c5d6;
}

/* ---------------- セクション共通 ---------------- */

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-catch {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 5px solid var(--sub);
}

body.lp2 .section-catch {
  color: var(--sub);
}

.section p {
  margin-bottom: 1.2em;
}

.section p:last-child {
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  margin: 0 0 1.4em;
}

.check-list li {
  position: relative;
  padding: 10px 12px 10px 2.2em;
  margin-bottom: 8px;
  background: var(--sub-soft);
  border-radius: 6px;
}

.check-list li::before {
  content: "・";
  position: absolute;
  left: 0.9em;
  font-weight: 700;
  color: var(--sub);
}

.plain-list {
  margin: 0 0 1.4em;
  padding-left: 1.4em;
}

.plain-list li {
  margin-bottom: 8px;
}

.note {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------------- CTA ---------------- */

.cta-block {
  text-align: center;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  line-height: 1.5;
  text-align: center;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  font-size: 1.02rem;
  padding: 18px 28px;
  box-shadow: 0 4px 14px rgba(233, 123, 38, 0.35);
  max-width: 100%;
}

.btn-primary:hover {
  background: var(--cta-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--sub);
  border: 2px solid var(--sub);
  font-size: 0.95rem;
  padding: 14px 24px;
}

.btn-secondary:hover {
  background: var(--sub-soft);
}

.cta-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.8;
}

.cta-note a {
  color: inherit;
}

.cta-section {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
}

.cta-section .section-catch {
  color: #fff;
  border-left-color: var(--cta);
}

.cta-section .cta-note {
  color: #b9c5d6;
}

.cta-section .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #8fa3bd;
  margin-top: 18px;
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dl-link {
  display: inline-block;
  font-weight: 700;
  color: var(--sub);
  margin-top: 4px;
}

/* ---------------- 対比表（レスポンシブ） ---------------- */

.compare-wrap {
  margin: 24px 0;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.92rem;
}

.compare-table caption {
  caption-side: bottom;
  text-align: left;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 8px;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.compare-table thead th.col-ours {
  background: var(--sub);
}

body.lp2 .compare-table thead th {
  background: #3a4a5e;
}

body.lp2 .compare-table thead th.col-ours {
  background: var(--sub);
}

.compare-table tbody th {
  background: var(--bg-alt);
  font-weight: 700;
  white-space: nowrap;
}

.compare-table td.cell-ours {
  background: var(--sub-soft);
  font-weight: 500;
}

/* スマホ幅：カード型に変換 */
@media (max-width: 640px) {
  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody tr {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(22, 40, 63, 0.06);
  }

  .compare-table tbody th {
    border: none;
    background: var(--navy);
    color: #fff;
    white-space: normal;
  }

  body.lp2 .compare-table tbody th {
    background: var(--sub);
  }

  .compare-table td {
    border: none;
    border-top: 1px solid var(--line);
  }

  .compare-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 4px;
  }

  .compare-table td.cell-ours::before {
    color: var(--sub);
  }
}

/* ---------------- カリキュラム・ステップ ---------------- */

.curriculum-list,
.step-list {
  list-style: none;
  counter-reset: item;
  margin: 20px 0 0;
}

.curriculum-list li,
.step-list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sub);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.section-alt .curriculum-list li,
.section-alt .step-list li {
  background: #fff;
}

/* ---------------- 価格 ---------------- */

.price-box {
  background: #fff;
  border: 2px solid var(--sub);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 28px;
}

.price-main {
  display: block;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--sub);
  line-height: 1.3;
}

.price-sub {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------------- FAQ ---------------- */

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 16px;
  font-weight: 700;
  position: relative;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q.";
  color: var(--sub);
  font-weight: 900;
  margin-right: 8px;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--sub);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 16px 16px;
  border-top: 1px dashed var(--line);
}

.faq-answer p {
  padding-top: 12px;
}

/* ---------------- 橋渡し ---------------- */

.bridge-link {
  margin-top: 24px;
  text-align: center;
}

/* ---------------- フッター ---------------- */

.site-footer {
  background: var(--navy-deep);
  padding: 36px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}

.footer-links a {
  color: #c3cede;
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ---------------- 下層ページ（法務・フォーム） ---------------- */

.page-main {
  padding: 48px 0 64px;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  border-left: 5px solid var(--sub);
  padding-left: 16px;
  margin-bottom: 28px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--bg-alt);
  width: 32%;
  font-weight: 700;
}

@media (max-width: 560px) {
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    border-bottom: none;
  }

  .legal-table td {
    border-top: none;
    margin-bottom: 0;
  }

  .legal-table tr {
    margin-bottom: 12px;
  }
}

.legal-section h2 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 28px 0 10px;
}

.legal-section p,
.legal-section ul {
  margin-bottom: 1em;
}

.legal-section ul {
  padding-left: 1.4em;
}

.back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
}

/* ---------------- フォーム ---------------- */

.form-lead {
  margin-bottom: 28px;
}

.form-field {
  margin-bottom: 22px;
}

.form-field > label,
.form-field > .field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.req,
.opt {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.req {
  background: #c0392b;
  color: #fff;
}

.opt {
  background: #8b97a5;
  color: #fff;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #b9c3cf;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--sub);
  outline-offset: 1px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-group label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 0.95rem;
}

.radio-group input {
  margin-top: 5px;
  flex-shrink: 0;
}

.consent-box {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 16px;
  margin: 28px 0;
  font-size: 0.9rem;
}

.consent-box .consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 700;
  margin-top: 12px;
  cursor: pointer;
}

.consent-box .consent-check input {
  margin-top: 5px;
}

.form-submit {
  text-align: center;
  margin-top: 24px;
}

.form-submit .btn-primary {
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  max-width: 420px;
}

/* honeypot（画面外・視覚非表示） */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------- サンクス ---------------- */

.thanks-main {
  padding: 80px 0;
  text-align: center;
}

.thanks-main h1 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.thanks-main p {
  margin-bottom: 1em;
}

/* ---------------- PC幅調整 ---------------- */

@media (min-width: 768px) {
  body {
    font-size: 17px;
  }

  .fv {
    padding: 96px 0 80px;
  }

  .fv-catch {
    font-size: 2.2rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-catch {
    font-size: 1.6rem;
  }

  .site-brand {
    font-size: 1.05rem;
  }

  .header-cta {
    font-size: 0.9rem;
    padding: 10px 18px;
  }
}
