/* 楽天出店者さま限定 楽市AILABO 特典ページ */
:root {
  --red: #d7263d;
  --red-dk: #b01c30;
  --navy: #26345f;
  --gold: #f2b01e;
  --ink: #2a2a33;
  --sub: #6b6b78;
  --pink: #fff1f2;
  --cream: #fffaf2;
  --line: #ece3dc;
  --ok: #1f9d55;
  --round: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; color: var(--ink); background: #fff; line-height: 1.8; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }

.ra-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.ra-wrap--narrow { max-width: 720px; }
.ra-center { text-align: center; }
.ra-note { color: var(--sub); font-size: 13px; margin-top: 16px; }


/* ボタン */
.ra-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; background: var(--red); color: #fff; font-family: var(--round); font-weight: 800; font-size: 17px; text-decoration: none; border: 0; border-radius: 999px; padding: 14px 32px; cursor: pointer; box-shadow: 0 6px 0 var(--red-dk); transition: transform .15s, box-shadow .15s; }
.ra-btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--red-dk); }
.ra-btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--red-dk); }
.ra-btn--big { font-size: 20px; padding: 18px 44px; }
.ra-btn--sub { background: var(--navy); box-shadow: 0 4px 0 #18213f; font-size: 15px; padding: 10px 20px; white-space: nowrap; }
.ra-btn--sub:hover { box-shadow: 0 2px 0 #18213f; }
.ra-btn:disabled { opacity: .6; cursor: wait; }

/* ヒーロー */
.ra-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fdf8ea 0%, #fdf4ee 25%, #fde7eb 50%, #fee1ea 75%, #fee3ea 100%); }
/* 画像は高さに合わせて右寄せ（パンダの頭が切れないように、上下は切らない） */
.ra-hero__bg { position: absolute; inset: 0; background-repeat: no-repeat; background-size: auto 100%; background-position: right center; }
.ra-hero__in { position: relative; max-width: 1080px; margin: 0 auto; padding: 84px 20px 64px; min-height: 690px; }
.ra-hero__in > * { max-width: 560px; }
/* 斜めの大きな「出店者さま限定」 */
.ra-hero__badge { display: inline-block; margin: 0 0 26px -6px; background: var(--red); color: #fff; font-family: var(--round); font-weight: 800; font-size: 34px; line-height: 1.25; padding: 12px 30px 14px; border: 4px solid #fff; border-radius: 14px; letter-spacing: .04em; transform: rotate(-6deg); transform-origin: left center; box-shadow: 0 0 0 4px var(--gold), 0 12px 24px rgba(176,28,48,.28); }
.ra-hero__badge-sm { display: block; font-size: 20px; letter-spacing: .12em; color: #ffe08a; }
@media (min-width: 761px) and (max-width: 1040px) {
  .ra-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(253,240,240,.92) 0%, rgba(253,240,240,.75) 50%, rgba(253,240,240,0) 75%); }
}
.ra-hero__title { margin: 0; font-family: var(--round); font-weight: 800; font-size: 30px; line-height: 1.35; color: var(--navy); }
.ra-hero__brand { font-size: 52px; color: var(--navy); letter-spacing: .01em; }
.ra-hero__offer { margin: 18px 0 26px; background: rgba(255,255,255,.88); border: 3px solid var(--gold); border-radius: 20px; padding: 14px 24px 16px; display: block; width: fit-content; }
.ra-hero__lead { margin: 0; font-family: var(--round); font-weight: 700; font-size: 18px; }
.ra-hero__nums { margin: 0; font-family: var(--round); font-weight: 800; line-height: 1.1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.ra-hero__nums s { color: #9a9aa6; font-size: 28px; text-decoration-thickness: 3px; }
.ra-hero__arrow { color: var(--red); font-size: 20px; }
.ra-hero__nums b { color: var(--red); font-size: 72px; letter-spacing: -.01em; }
.ra-hero__nums small { font-size: 22px; color: var(--red); }
.ra-hero__x2 { margin: 4px 0 0; font-family: var(--round); font-weight: 800; font-size: 20px; }
.ra-hero__x2 em { font-style: normal; color: #fff; background: var(--red); border-radius: 6px; padding: 0 8px; margin: 0 2px; }
.ra-hero__small { margin: 14px 0 0; font-size: 13px; color: var(--sub); }

/* セクション */
.ra-sec { padding: 72px 0; }
.ra-sec--pink { background: var(--pink); }
.ra-sec--cream { background: var(--cream); }
.ra-en { margin: 0 0 4px; font-family: var(--round); font-weight: 800; font-size: 14px; color: var(--red); letter-spacing: .14em; }
.ra-h2 { margin: 0 0 22px; font-family: var(--round); font-weight: 800; font-size: 30px; line-height: 1.45; color: var(--navy); }
.ra-lead { margin: -8px 0 28px; color: var(--sub); }

.ra-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.ra-split--rev { grid-template-columns: .85fr 1.15fr; }
.ra-split__img { margin: 0; }
.ra-split__img img { border-radius: 28px; box-shadow: 0 14px 40px rgba(38,52,95,.12); }

.ra-points { list-style: none; padding: 0; margin: 22px 0 0; }
.ra-points li { position: relative; padding: 0 0 14px 38px; }
.ra-points li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; line-height: 1; }
.ra-points b { display: block; font-size: 17px; }
.ra-points span { color: var(--sub); font-size: 15px; }

/* 比較 */
.ra-compare { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 12px; }
.ra-compare__card { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 26px 34px; text-align: center; min-width: 250px; }
.ra-compare__card--hot { border: 4px solid var(--red); box-shadow: 0 12px 30px rgba(215,38,61,.18); transform: scale(1.06); }
.ra-compare__ribbon { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 13px; padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.ra-compare__label { margin: 0; font-weight: 700; color: var(--sub); }
.ra-compare__card--hot .ra-compare__label { color: var(--red); }
.ra-compare__num { margin: 0; font-family: var(--round); font-weight: 800; font-size: 46px; line-height: 1.2; color: #9a9aa6; }
.ra-compare__card--hot .ra-compare__num { color: var(--red); font-size: 58px; }
.ra-compare__num small { font-size: 16px; margin-left: 4px; }
.ra-compare__arrow { margin: 0; color: var(--red); font-size: 28px; }

/* 受け取り方 */
.ra-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.ra-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.ra-steps li:last-child { border-bottom: 0; }
.ra-steps li > span { flex: none; background: var(--navy); color: #fff; font-family: var(--round); font-weight: 800; font-size: 12px; border-radius: 6px; padding: 4px 8px; margin-top: 4px; letter-spacing: .05em; }
.ra-steps b { display: block; font-size: 17px; }
.ra-steps li > div { color: var(--sub); font-size: 15px; }
.ra-steps li > div b { color: var(--ink); }

/* フォーム */
.ra-form { background: #fff; border-radius: 24px; padding: 34px 36px 30px; box-shadow: 0 10px 34px rgba(38,52,95,.08); position: relative; }
.ra-row { margin-bottom: 22px; }
.ra-row > label { display: block; font-weight: 700; margin-bottom: 6px; }
.ra-req { display: inline-block; margin-left: 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 6px; vertical-align: 2px; }
.ra-form input[type=text], .ra-form input[type=url], .ra-form input[type=email] { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid #ddd6cf; border-radius: 12px; background: #fff; transition: border-color .15s; }
.ra-form input:focus { outline: none; border-color: var(--navy); }
.ra-form input.is-ok { border-color: var(--ok); background: #f3fbf6; }
.ra-form input.is-ng { border-color: var(--red); }
.ra-urlbox { display: flex; gap: 10px; }
.ra-urlbox input { flex: 1; min-width: 0; }
.ra-help { margin: 6px 0 0; color: var(--sub); font-size: 13px; line-height: 1.6; }
.ra-err { margin: 6px 0 0; color: var(--red); font-size: 14px; font-weight: 700; }
.ra-agree { display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.ra-agree input { width: 20px; height: 20px; accent-color: var(--red); }
.ra-alert { background: #fdecee; border: 1px solid #f3b6be; color: var(--red-dk); border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-weight: 700; }

.ra-status:empty { display: none; }
.ra-status p { margin: 10px 0 0; border-radius: 12px; padding: 10px 14px; font-size: 15px; line-height: 1.6; }
.ra-status small { color: var(--sub); word-break: break-all; }
.ra-ok { background: #e9f7ef; color: #146c3b; }
.ra-ok__mark, .ra-ng__mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 13px; margin-right: 8px; vertical-align: -4px; }
.ra-ok__mark { background: var(--ok); }
.ra-ng { background: #fdecee; color: var(--red-dk); }
.ra-ng__mark { background: var(--red); }
.ra-wait { background: #f3f4f8; color: var(--sub); }
.ra-spin { display: inline-block; width: 16px; height: 16px; border: 3px solid #c9cbd6; border-top-color: var(--navy); border-radius: 50%; margin-right: 8px; vertical-align: -3px; animation: ra-spin .8s linear infinite; }
@keyframes ra-spin { to { transform: rotate(360deg); } }

/* FAQ */
.ra-faq { margin: 0; }
.ra-faq dt { font-weight: 700; padding: 16px 0 4px 34px; position: relative; border-top: 1px solid var(--line); }
.ra-faq dt::before { content: "Q"; position: absolute; left: 0; top: 15px; font-family: var(--round); font-weight: 800; color: var(--red); font-size: 20px; line-height: 1.4; }
.ra-faq dd { margin: 0 0 14px; padding-left: 34px; color: var(--sub); font-size: 15px; }
.ra-cta-last { margin-top: 36px; }

/* 完了画面 */
.ra-done { padding: 40px 0 72px; background: var(--cream); text-align: center; }
.ra-done__img { width: 240px; margin: 0 auto 8px; border-radius: 50%; }
.ra-done__eyebrow { margin: 0; color: var(--ok); font-weight: 700; }
.ra-done__title { margin: 4px 0 26px; font-family: var(--round); font-weight: 800; font-size: 30px; line-height: 1.4; color: var(--navy); }
.ra-done__title strong { color: var(--red); }
.ra-done__steps { list-style: none; text-align: left; background: #fff; border-radius: 20px; padding: 18px 24px; margin: 0 0 28px; box-shadow: 0 8px 26px rgba(38,52,95,.08); }
.ra-done__steps li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ra-done__steps li:last-child { border-bottom: 0; }
.ra-done__steps li > span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.ra-done__steps mark { background: #fff4c7; padding: 0 4px; border-radius: 4px; word-break: break-all; }

/* フッター */
.ra-foot { background: var(--navy); color: #d7dbea; text-align: center; padding: 28px 20px; font-size: 13px; }
.ra-foot p { margin: 4px 0; }
.ra-foot a { color: #fff; }
.ra-foot__note { color: #a9b0c8; font-size: 12px; }
.ra-foot__copy { color: #a9b0c8; font-size: 12px; }

/* スマホ */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .ra-wrap { padding: 0 16px; }
  .ra-hero__bg { position: relative; inset: auto; height: 0; padding-top: 100%; background-size: auto 100%; background-position: 96% center; }
  .ra-hero__in { position: static; padding: 0 16px 40px; min-height: 0; text-align: center; }
  .ra-hero__in > * { max-width: none; }
  .ra-hero__badge { position: absolute; top: 48px; left: 14px; margin: 0; font-size: 24px; padding: 8px 18px 10px; border-width: 3px; box-shadow: 0 0 0 3px var(--gold), 0 8px 18px rgba(176,28,48,.28); }
  .ra-hero__badge-sm { font-size: 15px; }
  .ra-hero__title { margin-top: 6px; }
  .ra-hero__title { font-size: 21px; }
  .ra-hero__brand { font-size: 38px; }
  .ra-hero__offer { display: block; width: auto; padding: 12px 14px 14px; }
  .ra-hero__nums { justify-content: center; }
  .ra-hero__nums s { font-size: 22px; }
  .ra-hero__nums { gap: 0 6px; }
  .ra-hero__nums b { font-size: 50px; }
  .ra-hero__nums small { font-size: 16px; }
  .ra-hero__x2 { font-size: 17px; }
  .ra-btn--big { font-size: 18px; padding: 16px 30px; width: 100%; max-width: 360px; }
  .ra-sec { padding: 52px 0; }
  .ra-h2 { font-size: 23px; }
  .ra-split, .ra-split--rev { grid-template-columns: 1fr; gap: 26px; }
  .ra-split__img { max-width: 320px; margin: 0 auto; }
  .ra-split--rev .ra-split__img { order: 2; }
  .ra-compare { flex-direction: column; gap: 14px; }
  .ra-compare__card { min-width: 0; width: 100%; max-width: 320px; padding: 20px; }
  .ra-compare__card--hot { transform: none; margin-top: 8px; }
  .ra-compare__arrow { transform: rotate(90deg); font-size: 22px; }
  .ra-compare__num { font-size: 38px; }
  .ra-compare__card--hot .ra-compare__num { font-size: 48px; }
  .ra-form { padding: 24px 18px 22px; border-radius: 18px; }
  .ra-urlbox { flex-direction: column; }
  .ra-urlbox .ra-btn--sub { width: 100%; }
  .ra-done__title { font-size: 24px; }
  .ra-done__steps { padding: 12px 16px; }
}

/* ヒーロー：無料登録 3,000 ＋ クーポン 3,000 */
.ra-sp { display: none; }
.ra-hero__plus { display: flex; align-items: center; gap: 10px; margin: 2px 0 4px; }
.ra-hero__pitem { text-align: center; }
.ra-hero__plabel { margin: 0; font-family: var(--round); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--sub); }
.ra-hero__pnum { margin: 0; font-family: var(--round); font-weight: 800; font-size: 44px; line-height: 1.15; color: var(--navy); white-space: nowrap; }
.ra-hero__pnum small { font-size: 15px; margin-left: 2px; }
.ra-hero__pitem--hot .ra-hero__plabel { color: var(--red); }
.ra-hero__pitem--hot .ra-hero__pnum { color: var(--red); font-size: 56px; }
.ra-hero__pmark { margin: 0; font-family: var(--round); font-weight: 800; font-size: 40px; color: var(--gold); line-height: 1; }
@media (max-width: 760px) {
  .ra-sp { display: inline; }
  .ra-hero__plus { justify-content: center; gap: 6px; }
  .ra-hero__plabel { font-size: 12px; }
  .ra-hero__pnum { font-size: 30px; }
  .ra-hero__pnum small { font-size: 11px; }
  .ra-hero__pitem--hot .ra-hero__pnum { font-size: 36px; }
  .ra-hero__pmark { font-size: 28px; }
  .ra-hero__x2 { font-size: 14px; }
}

/* 作成例（タブ） */
.ra-tabs { display: flex; justify-content: center; gap: 8px; margin: 0 0 22px; flex-wrap: wrap; }
.ra-tab { font: inherit; font-family: var(--round); font-weight: 800; font-size: 16px; color: var(--navy); background: #fff; border: 2px solid #f1c9cf; border-radius: 999px; padding: 10px 24px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ra-tab:hover { border-color: var(--red); }
.ra-tab.is-on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-dk); }
.ra-panel { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 10px 34px rgba(38,52,95,.08); }
.ra-panel[hidden] { display: none; }
.ra-ba { display: grid; grid-template-columns: 220px 56px 1fr; align-items: center; gap: 10px; }
.ra-ba__before { margin: 0; }
.ra-ba__before img { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.ra-ba__before figcaption, .ra-ba__cap { margin: 0 0 8px; font-weight: 700; font-size: 14px; color: var(--sub); }
.ra-ba__before figcaption span, .ra-ba__cap span { display: inline-block; font-family: var(--round); font-weight: 800; font-size: 12px; letter-spacing: .08em; color: #fff; background: #9a9aa6; border-radius: 4px; padding: 1px 8px; margin-right: 8px; }
.ra-ba__cap span { background: var(--red); }
.ra-ba__arrow { margin: 0; text-align: center; color: var(--red); font-size: 26px; line-height: 1.1; font-family: var(--round); font-weight: 800; }
.ra-ba__arrow span { display: block; font-size: 13px; }
.ra-gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; gap: 8px; }
.ra-gal__item { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.ra-gal__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s; }
.ra-gal__item:hover img { transform: scale(1.04); }
.ra-gal__item--main { grid-column: span 2; grid-row: span 2; }
.ra-shots__title { margin: 30px 0 12px; font-family: var(--round); font-weight: 800; font-size: 18px; color: var(--navy); }
.ra-shots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ra-shots__item a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #faf6f0; }
.ra-shots__item img { width: 100%; }
.ra-shots__item--2 a { display: flex; justify-content: center; align-items: center; aspect-ratio: 1639 / 1022; }
.ra-shots__item--2 img { width: auto; height: 100%; }
.ra-shots__item p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.ra-shots__item p span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 12px; margin-right: 6px; vertical-align: 1px; }
.ra-shots__item--3 { grid-column: span 2; }
.ra-zoom { cursor: zoom-in; }

/* 拡大表示 */
.ra-lb { position: fixed; inset: 0; z-index: 100; background: rgba(20,22,35,.86); display: flex; align-items: center; justify-content: center; padding: 20px; }
.ra-lb[hidden] { display: none; }
.ra-lb img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.4); background: #fff; }
.ra-lb__close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }

@media (max-width: 760px) {
  .ra-tabs { gap: 6px; flex-wrap: nowrap; }
  .ra-tab { font-size: 13px; padding: 8px 12px; white-space: nowrap; }
  .ra-panel { padding: 16px; border-radius: 18px; }
  .ra-ba { grid-template-columns: 1fr; }
  .ra-ba__before { max-width: 220px; margin: 0 auto; text-align: center; }
  .ra-ba__arrow { transform: rotate(90deg); font-size: 22px; }
  .ra-ba__arrow span { display: none; }
  .ra-gal { grid-template-columns: repeat(2, 1fr); }
  .ra-shots { grid-template-columns: 1fr; }
  .ra-shots__item--3 { grid-column: auto; }
}

/* 店舗名（楽天で確認した名前が自動で入る。手で変えられない） */
.ra-form input.ra-locked { background: #f5f3f0; border-style: dashed; color: var(--ink); font-weight: 700; cursor: not-allowed; }
.ra-form input.ra-locked:focus { border-color: #ddd6cf; }

/* 楽市AILABO のロゴ（ailabo.cloud と同じ：パンダの顔＋Zen Maru Gothic） */
.ra-brand { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; }
.ra-brand__face { width: 66px; height: auto; flex: none; }
.ra-brand__text { font-family: 'Zen Maru Gothic', 'Zen Kaku Gothic New', "Noto Sans JP", sans-serif; font-weight: 900; font-size: 52px; line-height: 1.1; color: #2f2620; letter-spacing: .02em; }
@media (max-width: 760px) {
  .ra-brand { gap: 8px; }
  .ra-brand__face { width: 46px; }
  .ra-brand__text { font-size: 36px; }
}

/* ひとことアドバイス（プロンプトのコツ） */
.ra-tip { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 4px; background: #fff7e0; border: 2px solid var(--gold); border-radius: 14px; padding: 12px 16px; font-family: var(--round); font-weight: 800; font-size: 19px; line-height: 1.6; color: var(--navy); }
.ra-tip__icon { flex: none; font-size: 22px; line-height: 1.4; }
@media (max-width: 760px) {
  .ra-tip { font-size: 16px; padding: 10px 12px; }
  .ra-tip__icon { font-size: 19px; }
}
@media (max-width: 760px) { .ra-pc { display: none; } }
