/*
  神戸市在住の中学1・2年生保護者向け
  「創造学園オンライン」入学キャンペーンLP用スタイル
  ※全て .lp-kobekatsu 配下でスコープしており、既存サイトのCSSと競合しません。
  ※チラシ（KOBE・KATSUロゴ）のトンマナに寄せ、角丸カード＋ぼかし影のような
    「AI生成テンプレート」的な意匠は避け、直線・帯・タグ・スタンプ等の
    グラフィカルな紙のチラシ表現でまとめている。
*/
.lp-kobekatsu {
  --lp-navy: #1a2b5c;
  --lp-navy-dark: #10193c;
  --lp-yellow: #f5d800;
  --lp-yellow-dark: #d9bf00;
  --lp-red: #c0392b;
  --lp-text: #1c1c1c;
  --lp-paper: #fffdf4;
  box-sizing: border-box;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--lp-text);
  font-size: 16px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
  background: var(--lp-paper);
}
.lp-kobekatsu * {
  box-sizing: border-box;
  min-width: 0;
}
.lp-kobekatsu img {
  max-width: 100%;
  display: block;
}
.lp-kobekatsu p,
.lp-kobekatsu h1,
.lp-kobekatsu h2,
.lp-kobekatsu h3,
.lp-kobekatsu li {
  overflow-wrap: anywhere;
}
.lp-kobekatsu a {
  text-decoration: none;
}
.lp-kobekatsu h3 {
  font-weight: 800;
}
.lp-kobekatsu section {
  padding: 44px 20px;
  position: relative;
}

/* --- 改行位置の出し分け（スマホ幅／PC幅で自然な位置に改行） --- */
.lp-kobekatsu-br-sp {
  display: inline;
}
.lp-kobekatsu-br-pc {
  display: none;
}
@media (min-width: 768px) {
  .lp-kobekatsu-br-sp {
    display: none;
  }
  .lp-kobekatsu-br-pc {
    display: inline;
  }
}

/* --- 写真（信頼要素セクション） --- */
.lp-kobekatsu-ph {
  background: #d9dee8;
  border: 3px solid var(--lp-navy);
  min-height: 160px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 見出し共通 --- */
.lp-kobekatsu-ttl {
  text-align: center;
  font-size: 1.45em;
  font-weight: 800;
  color: var(--lp-navy);
  margin: 0 0 30px;
  letter-spacing: 0.02em;
}
.lp-kobekatsu-ttl-mark {
  background: linear-gradient(transparent 62%, var(--lp-yellow) 62%);
}

/* --- 共通CTAボタン（角切り欠き＋ハードシャドウ） --- */
.lp-kobekatsu-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: var(--lp-yellow);
  color: var(--lp-navy);
  font-weight: 800;
  font-size: 1.1em;
  text-align: center;
  padding: 17px 20px;
  border: 3px solid var(--lp-navy);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  box-shadow: 6px 6px 0 var(--lp-navy);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lp-kobekatsu-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--lp-navy);
}
.lp-kobekatsu-btn-sub {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.82em;
  color: #666;
}

/* --- リボンタグ（帯・両端が矢羽根状） --- */
.lp-kobekatsu-ribbon {
  display: inline-block;
  background: var(--lp-navy);
  color: var(--lp-yellow);
  font-weight: 800;
  font-size: 0.85em;
  letter-spacing: 0.05em;
  padding: 7px 22px;
  clip-path: polygon(8% 0, 100% 0, 92% 50%, 100% 100%, 8% 100%, 0 50%);
}

/* --- 1. ファーストビュー --- */
section.lp-kobekatsu-fv {
  background: var(--lp-navy);
  color: #fff;
  padding: 0 0 34px;
  text-align: center;
  overflow: hidden;
}
.lp-kobekatsu-fv-obi {
  background: var(--lp-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.85em;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0;
  padding: 8px 12px;
}
.lp-kobekatsu-fv-obi-em {
  font-size: 1.25em;
}
.lp-kobekatsu-fv-obi-yellow {
  color: var(--lp-yellow);
}
/* 横幅100%の画像エリア（1つ目のCTAボタンの少し上まで） */
.lp-kobekatsu-fv-hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
}
.lp-kobekatsu-fv-hero-img {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% + 40px);
  object-fit: cover;
  object-position: calc(50% + 100px) center;
  z-index: 0;
}
.lp-kobekatsu-fv-hero-content {
  position: relative;
  z-index: 2;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 20px 16px;
  line-height: 1.3;
}
.lp-kobekatsu-fv-badge {
  display: inline-block;
  background: var(--lp-yellow);
  color: var(--lp-navy);
  font-weight: 800;
  font-size: 0.98em;
  padding: 7px 20px 7px 24px;
  border: 2px solid var(--lp-navy-dark);
  transform: rotate(-2deg);
  margin-bottom: 10px;
}
.lp-kobekatsu-fv-copy {
  font-size: 1.7em;
  margin: 0 0 8px;
  font-weight: 900;
  line-height: 1.25;
  /* 背景写真の明暗によらず文字を読めるようにする縁取り */
  text-shadow: 1px 1px 0 var(--lp-navy-dark), -1px -1px 0 var(--lp-navy-dark), 1px -1px 0 var(--lp-navy-dark), -1px 1px 0 var(--lp-navy-dark), 0 2px 6px rgba(0, 0, 0, 0.5);
}
.lp-kobekatsu-fv-copy .lp-kobekatsu-fv-hl {
  background: linear-gradient(transparent 58%, var(--lp-yellow) 58%);
  color: var(--lp-navy-dark);
  padding: 0 2px;
  /* 濃い色の文字なので、白フチにして暗い写真の上でも読めるようにする */
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}
.lp-kobekatsu-fv-sub {
  font-size: 1.2em;
  font-weight: 800;
  color: var(--lp-yellow);
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 0 var(--lp-navy-dark), -1px -1px 0 var(--lp-navy-dark), 1px -1px 0 var(--lp-navy-dark), -1px 1px 0 var(--lp-navy-dark), 0 2px 6px rgba(0, 0, 0, 0.5);
}
.lp-kobekatsu-fv-sub rt {
  color: #fff;
  font-size: 0.55em;
}
.lp-kobekatsu-fv-lead {
  color: #fff;
  font-size: 0.9em;
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto 20px;
  text-align: center;
}
.lp-kobekatsu-fv-cta {
  padding: 32px 20px 0;
}
.lp-kobekatsu-fv-note {
  margin-top: 16px;
  font-size: 0.78em;
  color: #cdd3e6;
}

/* --- 2. 共感セクション --- */
.lp-kobekatsu-worry {
  background: var(--lp-paper);
}
.lp-kobekatsu-worry-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.lp-kobekatsu-worry-card {
  position: relative;
  background: #fff;
  border: 3px solid var(--lp-navy);
  box-shadow: 6px 6px 0 rgba(26, 43, 92, 0.18);
  padding: 22px 18px 20px;
}
.lp-kobekatsu-worry-num {
  display: block;
  font-size: 1.6em;
  font-weight: 900;
  color: var(--lp-yellow-dark);
  -webkit-text-stroke: 1.5px var(--lp-navy);
  line-height: 1;
  margin-bottom: 6px;
}
.lp-kobekatsu-worry-card h3 {
  color: var(--lp-navy);
  font-size: 1.08em;
  margin: 0 0 8px;
  border-bottom: 2px dashed #c7cde0;
  padding-bottom: 8px;
}
.lp-kobekatsu-worry-card p {
  margin: 0;
  font-size: 0.95em;
}

/* --- 3. 解決策セクション --- */
.lp-kobekatsu-solution {
  background: #fff;
}
.lp-kobekatsu-solution-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 30px;
}
.lp-kobekatsu-course-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  max-width: 960px;
  margin: 0 auto;
}
.lp-kobekatsu-course-card {
  border: 3px solid var(--lp-navy);
  background: var(--lp-paper);
  padding: 26px 20px 22px;
  position: relative;
}
.lp-kobekatsu-course-card .lp-kobekatsu-ribbon {
  position: absolute;
  top: -18px;
  left: 16px;
}
.lp-kobekatsu-course-card h3 {
  color: var(--lp-navy);
  font-size: 1.3em;
  margin: 10px 0 16px;
}
.lp-kobekatsu-course-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-kobekatsu-course-body li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 10px;
  font-size: 0.95em;
}
.lp-kobekatsu-course-body li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--lp-yellow-dark);
  font-size: 0.8em;
}
.lp-kobekatsu-course-tag {
  display: inline-block;
  background: var(--lp-navy);
  color: #fff;
  font-size: 0.75em;
  font-weight: 700;
  padding: 5px 12px;
  margin-top: 10px;
}

/* --- 4. キャンペーン特典セクション --- */
.lp-kobekatsu-campaign {
  background: var(--lp-navy);
  color: #fff;
  text-align: center;
}
.lp-kobekatsu-campaign .lp-kobekatsu-ttl {
  color: #fff;
}
.lp-kobekatsu-campaign-period {
  display: inline-block;
  color: var(--lp-yellow);
  font-weight: 800;
  font-size: 0.6em;
  margin-bottom: 2px;
}
.lp-kobekatsu-benefit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto 28px;
}
.lp-kobekatsu-benefit-card {
  background: var(--lp-yellow);
  color: var(--lp-navy-dark);
  border: 3px solid var(--lp-navy-dark);
  margin-top: 0;
  padding: 0 18px 18px;
  text-align: left;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}
.lp-kobekatsu-benefit-card .lp-kobekatsu-benefit-label {
  display: inline-block;
  background: var(--lp-navy-dark);
  color: var(--lp-yellow);
  font-size: 0.78em;
  font-weight: 800;
  line-height: 1.2;
  padding: 3px 12px;
  margin-bottom: 8px;
}
.lp-kobekatsu-benefit-card .lp-kobekatsu-benefit-main {
  font-size: 1.5em;
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
  text-align: center;
}
.lp-kobekatsu-benefit-card .lp-kobekatsu-benefit-main em {
  font-style: normal;
  /* 親(.benefit-main)が1.5emのため、emで重ねると複合してしまう。
     ここだけ絶対px指定にしている。 */
  font-size: 56px;
  color: var(--lp-red);
}

/* --- 先着10名限定：スタンプ風バースト --- */
.lp-kobekatsu-campaign-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.lp-kobekatsu-campaign-head .lp-kobekatsu-ttl {
  margin: 0;
  line-height: 1.3;
}
.lp-kobekatsu-limited {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  color: #fff;
  font-weight: 800;
  font-size: 1.2em;
  line-height: 1.25;
  transform: rotate(-8deg);
}
.lp-kobekatsu-limited::before,
.lp-kobekatsu-limited::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lp-red);
  border-radius: 50%;
}
.lp-kobekatsu-limited::after {
  transform: rotate(22.5deg);
}
.lp-kobekatsu-limited span {
  position: relative;
  z-index: 1;
  padding: 0 10px;
}
.lp-kobekatsu-limited-num {
  display: inline-block;
  font-size: 2em;
  line-height: 1;
  margin-right: -0.28em;
}

.lp-kobekatsu-note-box {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  padding: 16px 18px;
  font-size: 0.78em;
  color: #e3e6f2;
  line-height: 1.7;
}
.lp-kobekatsu-note-box p {
  margin: 0 0 4px;
}
.lp-kobekatsu-note-box p:last-child {
  margin-bottom: 0;
}

/* --- 5. 信頼要素セクション --- */
.lp-kobekatsu-trust {
  background: var(--lp-paper);
}
.lp-kobekatsu-trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border-top: 2px solid var(--lp-navy);
}
.lp-kobekatsu-trust-card {
  padding: 22px 4px;
  border-bottom: 2px solid var(--lp-navy);
  display: flex;
  gap: 16px;
  align-items: center;
}
.lp-kobekatsu-trust-card .lp-kobekatsu-ph {
  width: 96px;
  height: 96px;
  min-height: 96px;
  flex: 0 0 96px;
  border: none;
}
.lp-kobekatsu-trust-card h3 {
  color: var(--lp-navy);
  font-size: 1.02em;
  margin: 0 0 6px;
}
.lp-kobekatsu-trust-card p {
  margin: 0;
  font-size: 0.88em;
}

/* --- 6. 申込導線セクション --- */
.lp-kobekatsu-cta {
  background: #fff;
  text-align: center;
}
.lp-kobekatsu-cta-desc {
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 0.95em;
}
.lp-kobekatsu-cta .lp-kobekatsu-note-box {
  color: #555;
  background: var(--lp-paper);
  border: 1px dashed #c7cde0;
  margin-top: 26px;
}

/* --- タブレット以上 --- */
@media (min-width: 768px) {
  .lp-kobekatsu {
    font-size: 17px;
  }
  .lp-kobekatsu-fv-hero,
  .lp-kobekatsu-fv-hero-content {
    min-height: 660px;
  }
  .lp-kobekatsu-fv-hero-img {
    top: 0;
    height: 100%;
    object-position: center center;
  }
  .lp-kobekatsu-fv-copy {
    font-size: 2.35em;
  }
  .lp-kobekatsu-fv-sub {
    font-size: 1.65em;
  }
  .lp-kobekatsu-ttl {
    font-size: 1.85em;
  }
  .lp-kobekatsu-worry-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .lp-kobekatsu-course-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-kobekatsu-benefit-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-kobekatsu-trust-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: none;
  }
  .lp-kobekatsu-trust-card {
    flex-direction: column;
    text-align: center;
    border: 3px solid var(--lp-navy);
    border-bottom: 3px solid var(--lp-navy);
    box-shadow: 6px 6px 0 rgba(26, 43, 92, 0.15);
  }
  .lp-kobekatsu-trust-card .lp-kobekatsu-ph {
    width: 100%;
    flex-basis: auto;
    min-height: 120px;
  }
  .lp-kobekatsu-btn {
    font-size: 1.2em;
    padding: 19px 24px;
  }
}

/* --- デスクトップ --- */
@media (min-width: 1024px) {
  .lp-kobekatsu section {
    padding: 68px 20px;
  }
  section.lp-kobekatsu-fv {
    padding: 0 0 34px;
  }
}
