@charset "UTF-8";
/* ============================================================================
   NetChai Media  誘導バナー v3  (.nc-banner)
   ----------------------------------------------------------------------------
   ニュース記事末尾に表示する「ネトチャイ体験レッスン」誘導バナー。
   投稿本文には markup（a.nc-banner ...）だけを置き、見た目はこのファイルで定義する。

   設計方針:
     - 中国アクセス対策: 外部リソース(Google Fonts / Meta 等)は一切使わない。
       フォントは端末内蔵のシステム丸ゴシック系のみ（外部読込なし）。
     - 全セレクタを .nc-banner 配下にスコープし、記事ページ全体へ影響させない。
     - カーソルはバナー上では通常、CTAボタン上だけ pointer。
       （バナー全体は <a> でクリック可能だが、見た目上はボタンを押させたい）

   旧バナー(.netchai_intro_box)は page.css に残置（過去記事がまだ参照するため）。
   2026-06-21 新規作成
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. ルート（カラーパレット・フォント・外枠）
   -------------------------------------------------------------------------- */
.nc-banner {
  /* カラーパレット */
  --cyan:    #0FBCD6;
  --cyan-d:  #0A93A9;
  --pink:    #FF4D9D;
  --pink-d:  #D81B73;
  --coral:   #FF7A59;
  --yellow:  #FFD23F;
  --yellow-d:#EFA700;
  --green:   #34C77B;
  --ink:     #2B3A4A;
  --ink-soft:#5A6B7B;
  --cream:   #FFFCF4;

  /* システム丸ゴシック系フォント（外部読込なし＝中国でも高速） */
  --nc-font: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4",
             "Hiragino Sans", "ヒラギノ角ゴシック",
             Meiryo, "メイリオ",
             "Yu Gothic Medium", "游ゴシック Medium", "YuGothic", "游ゴシック体",
             sans-serif;

  display: block;
  width: 100%;
  max-width: 900px;
  margin: 24px auto;
  padding: 0;

  font-family: var(--nc-font);
  color: var(--ink);
  text-decoration: none;
  -webkit-font-smoothing: antialiased;

  position: relative;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 26px;
  background: var(--cream);
  box-shadow: 0 24px 60px -22px rgba(60, 50, 20, .4),
              0 0 0 3px #FFE08A inset;
  cursor: default;                 /* バナー上は通常カーソル */
  animation: nc-pop .6s cubic-bezier(.2, .9, .3, 1.2) both;
}

/* 内部要素の余白リセット＋カーソル既定値（ボタンだけ後で pointer に上書き） */
.nc-banner * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: default;
}

/* 背景の紙吹雪ドット */
.nc-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .10;
  background-image:
    radial-gradient(circle, var(--cyan)   30%, transparent 31%),
    radial-gradient(circle, var(--pink)   30%, transparent 31%),
    radial-gradient(circle, var(--yellow) 30%, transparent 31%);
  background-size: 90px 90px, 120px 120px, 70px 70px;
  background-position: 8px 12px, 60px 70px, 40px 140px;
}

.nc-banner .nc-in {
  position: relative;
  z-index: 1;
  padding: 24px 26px 0;
}

/* ----------------------------------------------------------------------------
   2. トップバー（ロゴ＋No.1バッジ）
   -------------------------------------------------------------------------- */
.nc-banner .nc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.nc-banner .nc-logo {
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 46px);
  line-height: 1;
  color: var(--cyan);
  text-shadow: 2px 2px 0 #fff, 3px 3px 0 rgba(15, 188, 214, .3);
}
.nc-banner .nc-logo span {
  color: var(--pink);
  text-shadow: 2px 2px 0 #fff, 3px 3px 0 rgba(216, 27, 115, .3);
}

.nc-banner .nc-tagline {
  margin-top: 4px;
  font-weight: 800;
  font-size: clamp(11px, 1.8vw, 14px);
  line-height: 1.4;
  color: var(--ink-soft);
}

/* 星形 No.1 バッジ */
.nc-banner .nc-burst {
  flex: none;
  width: 96px;
  height: 96px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  font-weight: 800;
  position: relative;
  transform: rotate(7deg);
  animation: nc-bob 2.6s ease-in-out infinite;
}
.nc-banner .nc-burst::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pink);
  box-shadow: 0 8px 16px rgba(180, 20, 90, .35);
  clip-path: polygon(50% 0, 61% 12%, 78% 6%, 80% 24%, 97% 28%, 88% 43%,
                     100% 56%, 84% 64%, 89% 82%, 70% 80%, 61% 97%, 50% 84%,
                     39% 97%, 30% 80%, 11% 82%, 16% 64%, 0 56%, 12% 43%,
                     3% 28%, 20% 24%, 22% 6%, 39% 12%);
}
.nc-banner .nc-burst small {
  display: block;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 800;
}
.nc-banner .nc-burst b {
  display: block;
  font-size: 30px;
  line-height: .85;
}

/* ----------------------------------------------------------------------------
   3. ヒーロー（講師写真＋キャッチ＋価格）
   -------------------------------------------------------------------------- */
.nc-banner .nc-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* チェキ風フレームの講師写真 */
.nc-banner .nc-po-wrap {
  flex: none;
  position: relative;
  width: clamp(180px, 30vw, 240px);
}
.nc-banner .nc-polaroid {
  padding: 10px 10px 16px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(60, 50, 20, .28);
  transform: rotate(-4deg);
}
.nc-banner .nc-polaroid img {
  display: block;
  width: 100%;
  border-radius: 3px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 30%;
}
.nc-banner .nc-polaroid .cap {
  margin-top: 7px;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  color: var(--ink-soft);
}
/* 写真上部のマスキングテープ */
.nc-banner .nc-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 96px;
  height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 210, 63, .75);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
}
.nc-banner .nc-tape::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .4) 0 2px, transparent 2px 8px);
}

/* キャッチコピー */
.nc-banner .nc-hero-tx {
  flex: 1 1 300px;
  min-width: 0;
}
.nc-banner .nc-hero-tx h1 {
  font-weight: 800;
  font-size: clamp(22px, 4.2vw, 34px);
  line-height: 1.34;
  color: var(--ink);
}
.nc-banner .nc-hl {
  position: relative;
  white-space: nowrap;
  color: var(--pink);
}
.nc-banner .nc-hl::after {          /* マーカー風ハイライト */
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 1px;
  height: 32%;
  z-index: -1;
  border-radius: 4px;
  background: var(--yellow);
  opacity: .6;
}
.nc-banner .nc-hero-tx .lead {
  margin-top: 12px;
  font-weight: 700;
  font-size: clamp(13px, 2vw, 16px);
  line-height: 1.6;
  color: var(--ink-soft);
}
.nc-banner .nc-hero-tx .lead b {
  color: var(--pink-d);
}

/* 価格ピル */
.nc-banner .nc-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 18px;
  border-radius: 14px;
  background: var(--cyan);
  color: #fff;
  font-weight: 800;
  font-size: clamp(13px, 2vw, 15px);
  box-shadow: 0 6px 0 var(--cyan-d);
}
.nc-banner .nc-price b {
  font-weight: 800;
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1;
}

/* ----------------------------------------------------------------------------
   4. 特長（4アイコン）
   -------------------------------------------------------------------------- */
.nc-banner .nc-feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.nc-banner .nc-feat {
  text-align: center;
}
.nc-banner .nc-feat .circ {
  width: clamp(48px, 9vw, 62px);
  height: clamp(48px, 9vw, 62px);
  margin: 0 auto 8px;
  display: grid;
  place-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: clamp(22px, 4vw, 28px);
  box-shadow: 0 8px 16px -6px rgba(60, 50, 20, .35);
}
.nc-banner .c1 { background: #D9F6FB; }
.nc-banner .c2 { background: #FFE3EF; }
.nc-banner .c3 { background: #FFF3CC; }
.nc-banner .c4 { background: #DEF7E6; }
.nc-banner .nc-feat .ft {
  font-weight: 800;
  font-size: clamp(11px, 1.7vw, 13.5px);
  line-height: 1.4;
  color: var(--ink);
}
.nc-banner .nc-feat .ft b {
  color: var(--pink-d);
}

/* ----------------------------------------------------------------------------
   5. CTA（体験レッスン無料＋ボタン）
   -------------------------------------------------------------------------- */
.nc-banner .nc-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px -26px 0;             /* 左右は .nc-in の padding を相殺して全幅 */
  padding: 24px 26px 26px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--pink) 0%, var(--coral) 100%);
}
.nc-banner .nc-cta::before {        /* ドット模様 */
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .2) 20%, transparent 21%);
  background-size: 24px 24px;
}
.nc-banner .nc-cta-circ {
  flex: none;
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border: 5px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(150, 15, 70, .35);
}
.nc-banner .nc-cta-circ img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}
.nc-banner .nc-cta-tx {
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.nc-banner .nc-tag {
  display: inline-block;
  margin-bottom: 9px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--pink-d);
  font-weight: 800;
  font-size: clamp(11px, 1.8vw, 13px);
  box-shadow: 0 3px 8px rgba(120, 10, 60, .2);
}
.nc-banner .nc-cta h2 {
  font-weight: 800;
  font-size: clamp(18px, 3.4vw, 28px);
  line-height: 1.3;
  text-shadow: 0 2px 0 rgba(150, 15, 70, .4);
}
.nc-banner .nc-cta h2 u {
  text-decoration: none;
  color: var(--yellow);
  font-size: 1.15em;
}

/* CTAボタン（ここだけ pointer） */
.nc-banner .nc-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  padding: 13px 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--pink-d);
  font-weight: 800;
  font-size: clamp(15px, 2.4vw, 20px);
  box-shadow: 0 8px 0 #B01560, 0 14px 22px rgba(120, 10, 60, .35);
  animation: nc-pulse 1.8s ease-in-out infinite;
}
.nc-banner .nc-btn,
.nc-banner .nc-btn * {
  cursor: pointer;                  /* ボタン上だけ指マーク */
}
.nc-banner .nc-btn .arr {
  transition: transform .2s;
}

/* ホバー: ボタンを押し込み＋矢印を進める */
.nc-banner:hover .nc-btn {
  animation: none;
  transform: translateY(2px);
  box-shadow: 0 5px 0 #B01560;
}
.nc-banner:hover .nc-btn .arr {
  transform: translateX(5px);
}

/* ----------------------------------------------------------------------------
   6. アニメーション
   -------------------------------------------------------------------------- */
@keyframes nc-pop {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes nc-bob {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50%      { transform: rotate(7deg) translateY(-6px); }
}
@keyframes nc-pulse {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ----------------------------------------------------------------------------
   7. レスポンシブ（スマホ）
   -------------------------------------------------------------------------- */
@media screen and (max-width: 600px) {
  .nc-banner .nc-feats   { grid-template-columns: 1fr 1fr; }
  .nc-banner .nc-hero    { justify-content: center; text-align: center; }
  .nc-banner .nc-hero-tx { flex-basis: 100%; }
  .nc-banner .nc-po-wrap { width: 200px; }
  .nc-banner .nc-cta     { flex-direction: column; }
}
