@charset "utf-8";

/* =====================================
   RESET / BASE
   ===================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP",
    "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, #171925 0, #050716 55%, #02010b 100%);
  color: #f9fafb;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* スマホとPCで少しだけ制御 */
.sp-only {
  display: inline;
}
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* フェードイン共通 */
.js-fadein {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================
   LAYOUT
   ===================================== */
.dw-landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dw-main {
  flex: 1;
  padding: 80px 0 40px;
}

/* =====================================
   HEADER（ログイン前）
   ===================================== */
.dw-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    90deg,
    rgba(5, 6, 20, 0.96),
    rgba(5, 6, 20, 0.85),
    rgba(5, 6, 20, 0.96)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}

.dw-header__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ロゴ */
.dw-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dw-logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, #f973b7, #a855f7, #facc15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #020617;
}

.dw-logo__text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.dw-logo__text-accent {
  margin-left: 4px;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(248, 250, 252, 0.16);
  text-transform: uppercase;
}

/* ナビ */
.dw-header__nav {
  margin-left: 8px;
  display: none;
  gap: 18px;
  font-size: 13px;
  color: #e5e7eb;
}
.dw-header__nav a {
  position: relative;
  padding-bottom: 2px;
}
.dw-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #facc15, #fb7185);
  transition: width 0.18s ease;
}
.dw-header__nav a:hover::after {
  width: 100%;
}

/* ログイン・登録ボタン */
.dw-header__auth {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 共通ボタン */
.dw-btn {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.08s ease, box-shadow 0.08s ease,
              background 0.12s ease, border-color 0.12s ease,
              color 0.12s ease, opacity 0.12s ease;
}


.dw-btn--lg {
  padding: 11px 22px;
  font-size: 13px;
}

.dw-btn--primary {
  background: #facc15;       /* ソリッド黄色 */
  color: #1e1e1e;
  border: 1px solid #facc15;
  border-radius: 10px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: 0.15s ease;
}

.dw-btn--primary:hover {
  background: #eab308;        /* 少し濃く */
  border-color: #eab308;
  transform: translateY(1px);
}

.dw-btn--ghost {
  background: #0b0f1c;         /* ほぼ黒のネイビー */
  border: 1px solid #64748b;   /* 薄めのネイビー枠 */
  color: #d0d4dc;
  border-radius: 10px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.15s ease;
}

.dw-btn--ghost:hover {
  background: #131829;           /* ほんの少し明るく */
  border-color: #cbd5f5;          /* 枠色を明るく */
  color: #f1f5f9;
  transform: translateY(1px);
}


/* スマホ: ナビはヘッダー内をシンプルに */
@media (min-width: 768px) {
  .dw-header__nav {
    display: flex;
  }
}

/* =====================================
   HERO
   ===================================== */
.dw-hero {
  padding: 40px 18px 32px;
}

.dw-hero__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

/* テキスト側 */
.dw-hero__copy {
  max-width: 520px;
}

.dw-hero__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 10px;
}

.dw-hero__title {
  font-size: 30px;
  line-height: 1.3;
  margin: 0 0 12px;
}
.dw-hero__title span {
  background: linear-gradient(135deg, #facc15, #fb7185, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dw-hero__text {
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5f5;
  margin: 0 0 16px;
}

.dw-hero__actions {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.dw-hero__note {
  font-size: 11px;
  color: #94a3b8;
}

/* ビジュアル側（デバイスモック＋壁紙プレビュー） */
.dw-hero__visual {
  position: relative;
  height: 320px;
}

.dw-device {
  position: absolute;
  width: 220px;
  border-radius: 30px;
  padding: 10px;
  background: radial-gradient(circle at 0 0, #111827, #020617);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.dw-device--front {
  right: 8px;
  top: 32px;
  z-index: 2;
}

.dw-device--back {
  left: 0;
  bottom: 8px;
  transform: rotate(-8deg);
  opacity: 0.7;
}

.dw-device__screen {
  border-radius: 22px;
  padding: 10px;
  background: radial-gradient(circle at 0 0, #020617, #020617);
  overflow: hidden;
  position: relative;
}

.dw-device__screen--blur {
  filter: blur(1.5px);
}

.dw-device__label {
  margin-top: 8px;
  font-size: 11px;
  text-align: center;
  color: #e5e7eb;
}

/* 壁紙プレビュー */
.dw-wall-preview {
  border-radius: 18px;
  margin-bottom: 8px;
  height: 52px;
}

/* 各種テイストのダミー表現 */
.dw-wall-preview--gradient {
  background: conic-gradient(from 140deg, #facc15, #fb7185, #22c55e, #0ea5e9, #facc15);
}
.dw-wall-preview--art {
  background: repeating-linear-gradient(
    135deg,
    #020617 0,
    #020617 8px,
    #0f172a 8px,
    #0f172a 14px
  );
  position: relative;
}
.dw-wall-preview--art::before {
  content: "";
  position: absolute;
  inset: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.2);
}
.dw-wall-preview--kawaii {
  background: radial-gradient(circle at 0 0, #f9a8d4, transparent 40%),
    radial-gradient(circle at 100% 0, #a5b4fc, transparent 42%),
    radial-gradient(circle at 0 100%, #facc15, transparent 45%),
    #fecaca;
}
.dw-wall-preview--dark {
  background: radial-gradient(circle at 0 0, #0f172a, #020617);
}

/* スマホ時は縦並び */
@media (max-width: 767px) {
  .dw-main {
    padding-top: 72px;
  }

  .dw-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .dw-hero__visual {
    height: 260px;
  }

  .dw-device {
    width: 200px;
  }

  .dw-device--front {
    left: 50%;
    transform: translateX(-50%);
  }

  .dw-device--back {
    left: 10%;
    transform: translate(-10%, -4px) rotate(-8deg);
  }
}

/* =====================================
   SECTIONS 共通
   ===================================== */
.dw-section {
  padding: 24px 18px 26px;
}

.dw-section__head {
  max-width: 1040px;
  margin: 0 auto 16px;
}
.dw-section__title {
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
  margin: 0 0 6px;
}
.dw-section__lead {
  font-size: 13px;
  color: #cbd5f5;
  margin: 0;
}

.dw-section__foot {
  max-width: 1040px;
  margin: 14px auto 0;
}

/* 背景バリエーション */
.dw-section--light {
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.38), transparent 55%);
}
.dw-section--dark {
  background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.8), transparent 60%);
}
.dw-section--plan {
  background: radial-gradient(circle at 0 0, #4b5563 0%, #020617 62%);
}

/* =====================================
   WALLPAPER GRID
   ===================================== */
.dw-wall-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.dw-wall-card {
  position: relative;
  border-radius: 22px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.dw-wall-card:hover {
  transform: translateY(2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 1);
  border-color: rgba(251, 191, 36, 0.8);
}

.dw-wall-card__thumb {
  height: 100px;
  border-radius: 18px;
}

/* ダミー壁紙バリエーション */
.dw-wall-card__thumb--minimal {
  background: linear-gradient(135deg, #0f172a, #020617);
}
.dw-wall-card__thumb--mode {
  background: conic-gradient(from 120deg, #020617, #111827, #020617, #020617);
}
.dw-wall-card__thumb--neon {
  background: radial-gradient(circle at 10% 0, #22c55e, transparent 40%),
    radial-gradient(circle at 100% 100%, #22d3ee, transparent 35%),
    radial-gradient(circle at 0 100%, #fb7185, transparent 36%),
    #020617;
}
.dw-wall-card__thumb--kawaii {
  background: radial-gradient(circle at 0 0, #fecaca, transparent 40%),
    radial-gradient(circle at 100% 100%, #f9a8d4, transparent 40%),
    #fee2e2;
}

.dw-wall-card__body {
  padding: 2px 2px 4px;
}

.dw-wall-card__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #facc15;
  margin: 0 0 2px;
}
.dw-wall-card__text {
  font-size: 12px;
  color: #e5e7eb;
  margin: 0;
}

/* 「もっと見る」リンク */
.dw-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #e5e7eb;
}
.dw-link-more::after {
  content: "→";
  font-size: 11px;
}
.dw-link-more--light {
  color: #fefce8;
}

/* =====================================
   STAMP SHOWCASE
   ===================================== */
.dw-stamp-showcase {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: center;
}

.dw-stamp-showcase__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dw-stamp-thumb {
  border-radius: 16px;
  height: 80px;
}

.dw-stamp-thumb--set1 {
  background: radial-gradient(circle at 0 0, #f9a8d4, transparent 40%),
    #1e293b;
}
.dw-stamp-thumb--set2 {
  background: radial-gradient(circle at 100% 0, #a5b4fc, transparent 40%),
    #0f172a;
}
.dw-stamp-thumb--set3 {
  background: radial-gradient(circle at 50% 100%, #f97316, transparent 45%),
    #020617;
}

.dw-stamp-showcase__text {
  font-size: 13px;
  color: #e5e7eb;
  line-height: 1.8;
}

/* スマホ時に縦並び */
@media (max-width: 767px) {
  .dw-stamp-showcase {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================
   HOW TO USE（STEPS）
   ===================================== */
.dw-steps {
  max-width: 1040px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
@media (min-width: 768px) {
  .dw-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dw-step {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.dw-step__num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #facc15, #fb7185);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #020617;
}

.dw-step__title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
}
.dw-step__text {
  font-size: 12px;
  margin: 0;
  color: #e5e7eb;
}

/* =====================================
   PLAN / PRICING
   ===================================== */
.dw-plan {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 20px 20px 22px;
  background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.75), #020617);
  border: 1px solid rgba(251, 191, 36, 0.6);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  text-align: center;
}

.dw-plan__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 6px;
}

.dw-plan__price {
  margin: 0 0 8px;
}
.dw-plan__price-main {
  font-size: 20px;
  font-weight: 700;
}
.dw-plan__price-sub {
  font-size: 12px;
  margin-left: 4px;
}

.dw-plan__text {
  font-size: 13px;
  color: #e5e7eb;
  margin: 0 0 12px;
}

.dw-btn--block {
  width: 100%;
  justify-content: center;
}

.dw-plan__note {
  margin: 10px 0 0;
  font-size: 11px;
  color: #cbd5f5;
  line-height: 1.7;
}

/* =====================================
   FOOTER（ログイン前）
   ===================================== */
.dw-footer {
  padding: 24px 18px 28px;
  background: #020617;
  border-top: 1px solid rgba(30, 64, 175, 0.7);
}

.dw-footer__inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
}

.dw-footer__logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
}
.dw-footer__tagline {
  font-size: 12px;
  color: #9ca3af;
  margin: 6px 0 12px;
}

.dw-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 11px;
  color: #cbd5f5;
  margin-bottom: 10px;
}

.dw-footer__copy {
  font-size: 11px;
  color: #6b7280;
  margin: 4px 0 0;
}

@media (max-width: 767px) {
  .dw-footer__inner {
    text-align: left;
  }
}

/* ---- 共通ボタン（ベースはそのまま） ---- */
.dw-btn {
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal; /* ← 折り返しOK */
  line-height: 1.4;
  transition: transform 0.08s ease, box-shadow 0.08s ease,
              background 0.12s ease, border-color 0.12s ease,
              color 0.12s ease, opacity 0.12s ease;
}

.dw-btn--lg {
  padding: 12px 22px;
  font-size: 14px;
}

/* メインボタン：ロゴ風グラデ */
.dw-btn--primary {
  background: linear-gradient(135deg, #f973b7, #a855f7, #facc15);
  color: #0f172a;
  border-color: #facc15;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.7);
}
.dw-btn--primary:hover {
  opacity: 0.96;
  transform: translateY(1px);
}

/* サブボタン：濃紺ソリッド＋枠線 */
.dw-btn--ghost {
  background: #020617;
  border: 1px solid #64748b;
  color: #e5e7eb;
}
.dw-btn--ghost:hover {
  border-color: #cbd5f5;
  color: #f9fafb;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.7);
}

/* ---- スマホ時（〜767px）：はみ出し防止＆左ボタンを大きめに見せる ---- */
@media (max-width: 767px) {
  .dw-hero__actions {
    display: flex;
    flex-wrap: wrap;          /* 折り返しOK */
    gap: 8px;
    justify-content: flex-start;
  }

  /* 新規登録ボタン：テキスト優先で大きめ */
  .dw-hero__actions .dw-btn--primary {
    flex: 0 1 auto;
    max-width: 70%;           /* 画面のだいたい7割まで */
  }

  /* すでに会員ボタン：文字が切れない範囲で自動幅 */
  .dw-hero__actions .dw-btn--ghost {
    flex: 0 1 auto;
    max-width: 60%;
    font-size: 12px;
    padding-inline: 10px;
  }

  /* ヘッダーのボタンは小さめに */
  .dw-header__auth .dw-btn {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 6px;
  }
}

/* --- スマホ時（〜767px）：ボタン幅を60％ / 30％に調整 --- */
@media (max-width: 767px) {
  .dw-hero__actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 10px;
  }

  /* 新規登録：60% */
  .dw-hero__actions .dw-btn--primary {
    width: 60%;
    min-width: 60%;
    padding: 12px 10px;
    font-size: 13px;
    text-align: center;
  }

  /* すでに会員の方はこちら：30% */
  .dw-hero__actions .dw-btn--ghost {
    width: 30%;
    min-width: 30%;
    padding: 12px 6px;
    font-size: 12px;
    text-align: center;
  }

  /* ヘッダーのボタン小さめ */
  .dw-header__auth .dw-btn {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 6px;
  }
}

/* =============================
   LOGIN PAGE
   ============================= */

.sw-login__main {
  max-width: 480px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  color: #e5e7eb;
}

/* 見出し */
.sw-login__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #94a3b8;
  margin-bottom: 6px;
}
.sw-login__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sw-login__lead {
  font-size: 13px;
  line-height: 1.7;
  color: #cbd5f5;
}

/* お問い合わせリンク */
.sw-login__link {
  color: #facc15;
  text-decoration: underline;
}

/* カード */
.sw-login__card {
  margin-top: 28px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 26px 22px;
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ラベル＋入力欄 */
.sw-login__row {
  margin-bottom: 20px;
}

.sw-login__row label {
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.sw-login__row input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: #020617;
  border: 1px solid #475569;
  color: #f1f5f9;
  font-size: 14px;
}

.sw-login__row input::placeholder {
  color: #64748b;
}

/* エラー */
.sw-login__error {
  margin-top: 4px;
  font-size: 11px;
  color: #fb7185;
}

/* ボタン */
.sw-login__btn {
  width: 100%;
  padding: 12px 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.sw-login__btn--primary {
  background: linear-gradient(135deg, #f973b7, #a855f7, #facc15);
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15,23,42,0.5);
}
.sw-login__btn--primary:hover {
  opacity: .95;
}

/* 注意文 */
.sw-login__note {
  font-size: 11px;
  margin-top: 12px;
  color: #94a3b8;
}

/* 新規登録誘導 */
.sw-login__regist {
  margin-top: 16px;
  font-size: 11px;
  color: #64748b;
}
.sw-login__regist a {
  color: #facc15;
  text-decoration: underline;
}

/* フェードイン */
.js-fadein {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================
   REGIST PAGE
   ============================= */

.sw-regist__main {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  color: #e5e7eb;
}

/* ヘッダー */
.sw-regist__head {
  margin-bottom: 24px;
}
.sw-regist__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #94a3b8;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.sw-regist__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.sw-regist__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5f5;
}

/* レイアウト（PC は2列、SPは1列） */
.sw-regist__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  grid-template-rows: auto;
  gap: 18px;
}

/* 上段に規約 + 支払い、下段にガイドが全幅で来るように */
.sw-regist__card:nth-child(3) {
  grid-column: 1 / -1;
}

/* カード共通 */
.sw-regist__card {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

.sw-regist__card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-regist__text {
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 10px;
}

/* 利用規約リンク風ボタン */
.sw-regist__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 1px solid #facc15;
  color: #facc15;
}
.sw-regist__btn-link::after {
  content: "→";
  margin-left: 6px;
  font-size: 11px;
}
.sw-regist__btn-link:hover {
  background: rgba(250,204,21,0.1);
}

/* お支払い方法リスト */
.sw-regist__payment-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.sw-regist__payment-item {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.4);
  text-align: center;
}

.sw-regist__payment-item img {
  max-width: 160px;
  margin: 0 auto 6px;
}

.sw-regist__payment-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #e5e7eb;
  margin: 0;
}

/* ご利用ガイド */
.sw-regist__guide-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 8px;
}
.sw-regist__guide-list li + li {
  margin-top: 4px;
}

.sw-regist__link {
  font-size: 13px;
  color: #93c5fd;
  text-decoration: underline;
}

.sw-regist__note {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 8px;
}

/* SP レイアウト */
@media (max-width: 767px) {
  .sw-regist__main {
    padding-top: 72px;
  }

  .sw-regist__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sw-regist__card:nth-child(3) {
    grid-column: auto;
  }
}

/* お支払いロゴを見やすくする */
.sw-regist__payment-item {
  padding: 16px 14px 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  text-align: center;
}

/* ロゴの下に白プレートを敷く */
.sw-regist__payment-item img {
  display: block;
  margin: 0 auto 8px;
  max-width: 200px;

  padding: 10px 18px;
  background: #ffffff;                 /* ← 白プレート */
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.7);
}

/* --- 支払いボタン全体をタップ可能にする --- */
.sw-regist__payment-item {
  display: block;
  text-align: center;
  padding: 20px 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0f172a, #050b16);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow:
      0 8px 18px rgba(0,0,0,0.55),
      inset 0 0 0 0 rgba(255,255,255,0);   /* ホバーで変える */

  transition: all 0.2s ease;
  cursor: pointer;
}

/* 全体クリック化（a を中に入れてるので block 化） */
.sw-regist__payment-item > a {
  display: block;
}

/* ロゴ部分（白いプレート） */
.sw-regist__payment-item img {
  display: block;
  margin: 0 auto 10px;
  max-width: 200px;

  padding: 12px 20px;
  background: #fff;
  border-radius: 14px;

  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* 説明文 */
.sw-regist__payment-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #e5e7eb;
  margin: 0;
}

/* --- ホバーで“押せる感”を出す --- */
.sw-regist__payment-item:hover {
  transform: translateY(2px);
  box-shadow:
      0 4px 12px rgba(0,0,0,0.6),
      inset 0 0 12px rgba(255,255,255,0.08);

  border-color: rgba(250,204,21,0.6); /* うっすら金縁 */
}

/* --- スマホ：押しやすいタップ領域確保 --- */
@media (max-width: 767px) {
  .sw-regist__payment-item {
    padding: 18px 14px;
  }
  .sw-regist__payment-item img {
    max-width: 180px;
  }
}

/* ===== 支払いボタン：キャリア別カラーでスマホでも明らかに押せる ===== */

/* --- 共通形状 --- */
.sw-regist__payment-item {
  display: block;
  padding: 20px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);   /* ← 薄い色背景で「ボタン感」UP */
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
  text-align: center;
  transition: 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;        /* キャリアごとに色を付ける */
}

/* ロゴ中央白プレート */
.sw-regist__payment-item img {
  display: block;
  margin: 0 auto 8px;
  max-width: 200px;
  padding: 12px 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* 説明文 */
.sw-regist__payment-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #e5e7eb;
}


/* ===== キャリア別カラー ===== */

/* d払い（赤） */
.sw-regist__payment-item--docomo {
  border-color: #e11d48;                         /* 赤枠 */
  background: rgba(225, 29, 72, 0.12);            /* 赤系背景 */
}
.sw-regist__payment-item--docomo:hover {
  background: rgba(225, 29, 72, 0.2);
}

/* au（オレンジ） */
.sw-regist__payment-item--au {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.12);
}
.sw-regist__payment-item--au:hover {
  background: rgba(249, 115, 22, 0.2);
}

/* SoftBank / Y!mobile（青グレー） */
.sw-regist__payment-item--softbank {
  border-color: #64748b;                         /* グレー系 */
  background: rgba(100, 116, 139, 0.12);
}
.sw-regist__payment-item--softbank:hover {
  background: rgba(100, 116, 139, 0.18);
}


/* ===== スマホ最適化 ===== */
@media (max-width: 767px) {
  .sw-regist__payment-item {
    padding: 18px 14px;
  }

  .sw-regist__payment-item img {
    max-width: 180px;
  }
}

/* =============================
   REGISTERED (登録完了ページ)
   ============================= */

.sw-registered__main {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  color: #e5e7eb;
}

.sw-registered__head {
  margin-bottom: 20px;
}

.sw-registered__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sw-registered__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-registered__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5f5;
  margin: 0;
}

/* カード本体 */
.sw-registered__card {
  margin-top: 10px;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 22px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.sw-registered__card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-registered__text {
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 14px;
}

/* 情報テーブル */
.sw-registered__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15,23,42,0.9);
}

.sw-registered__table th,
.sw-registered__table td {
  padding: 10px 14px;
  font-size: 13px;
}

.sw-registered__table th {
  width: 80px;
  text-align: left;
  background: rgba(15,23,42,0.95);
  border-bottom: 1px solid rgba(30,64,175,0.7);
  color: #cbd5f5;
}

.sw-registered__table td {
  border-bottom: 1px solid rgba(30,64,175,0.3);
  color: #e5e7eb;
}

/* ID / PASS の値をピル状に */
.sw-registered__value {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #0f172a, #020617);
  border: 1px solid rgba(148,163,184,0.7);
  font-family: "Menlo", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

/* 注意文 */
.sw-registered__notice {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.7;
  margin: 4px 0 16px;
}

/* HOMEボタン */
.sw-registered__actions {
  text-align: center;
}

.sw-registered__home-btn {
  margin-top: 4px;
  padding-inline: 28px;
}

/* SP 調整 */
@media (max-width: 767px) {
  .sw-registered__main {
    padding-top: 72px;
  }
}

/* =============================
   FAQ PAGE
   ============================= */

.sw-faq__main {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  color: #e5e7eb;
}

.sw-faq__head {
  margin-bottom: 24px;
}

.sw-faq__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sw-faq__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-faq__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5f5;
}

.sw-faq__link {
  color: #93c5fd;
  text-decoration: underline;
}

/* セクション */
.sw-faq__section {
  margin-top: 18px;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 22px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.sw-faq__section + .sw-faq__section {
  margin-top: 18px;
}

.sw-faq__section-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

/* 汎用6問リスト */
.sw-faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sw-faq__item + .sw-faq__item {
  border-top: 1px solid rgba(30,64,175,0.35);
  padding-top: 14px;
  margin-top: 14px;
}

.sw-faq__q {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
}

.sw-faq__a {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  color: #e5e7eb;
}

/* 料金・キャリア決済ブロック */
.sw-faq__section--sub {
  background: radial-gradient(circle at 0 0, rgba(30,64,175,0.45), #020617);
}

.sw-faq__detail {
  padding: 14px 0;
}

.sw-faq__detail + .sw-faq__detail {
  border-top: 1px solid rgba(30,64,175,0.4);
}

.sw-faq__detail-q {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
}

.sw-faq__detail-a {
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 6px;
}

.sw-faq__links {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.sw-faq__links li + li {
  margin-top: 2px;
}

/* SP 調整 */
@media (max-width: 767px) {
  .sw-faq__main {
    padding-top: 72px;
  }
}

/* =============================
   INQUIRY PAGE
   ============================= */

.sw-inquiry__main {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  color: #e5e7eb;
}

.sw-inquiry__head {
  margin-bottom: 24px;
}

.sw-inquiry__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sw-inquiry__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-inquiry__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5f5;
}

.sw-inquiry__link {
  color: #93c5fd;
  text-decoration: underline;
}

/* カード */
.sw-inquiry__card {
  margin-top: 18px;
  background: rgba(15, 23, 42, 0.78);
  border-radius: 22px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(148,163,184,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.sw-inquiry__card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-inquiry__text {
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 12px;
}

/* 注意事項リスト */
.sw-inquiry__list {
  list-style: disc;
  padding-left: 1.3em;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.7;
}

.sw-inquiry__mono {
  font-family: "Menlo", "SFMono-Regular", Consolas, monospace;
}

/* FAQ への誘導 */
.sw-inquiry__faq-links {
  border-top: 1px solid rgba(30,64,175,0.4);
  margin-top: 12px;
  padding-top: 10px;
  font-size: 12px;
}

.sw-inquiry__faq-label {
  display: inline-block;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.sw-inquiry__faq-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sw-inquiry__faq-links li + li {
  margin-top: 2px;
}

/* サポート情報 */
.sw-inquiry__support-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
}

.sw-inquiry__support-hours {
  font-size: 12px;
  color: #9ca3af;
  margin: 0 0 10px;
}

.sw-inquiry__mail {
  margin: 0 0 8px;
}

.sw-inquiry__mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #facc15;
  font-size: 13px;
  color: #facc15;
  text-decoration: none;
}
.sw-inquiry__mail-link::before {
  content: "✉ ";
  font-size: 13px;
  margin-right: 4px;
}
.sw-inquiry__mail-link:hover {
  background: rgba(250,204,21,0.1);
}

.sw-inquiry__attention {
  font-size: 11px;
  color: #f97373;
  line-height: 1.6;
}

/* SP 調整 */
@media (max-width: 767px) {
  .sw-inquiry__main {
    padding-top: 72px;
  }
}

/* =============================
   PRIVACY POLICY PAGE
   ============================= */

.sw-policy__main {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  color: #e5e7eb;
}

.sw-policy__head {
  margin-bottom: 20px;
}

.sw-policy__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sw-policy__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-policy__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5f5;
}

/* 目次 */
.sw-policy__toc {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.5);
}

.sw-policy__toc-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
}

.sw-policy__toc ol {
  margin: 0;
  padding-left: 1.2em;
  font-size: 12px;
  line-height: 1.7;
}

.sw-policy__toc a {
  color: #93c5fd;
  text-decoration: underline;
}

/* 各セクション */
.sw-policy__section {
  margin-top: 18px;
  padding: 20px 22px 22px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(30,64,175,0.35), #020617);
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 18px 38px rgba(0,0,0,0.55);
}

.sw-policy__section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-policy__text {
  font-size: 13px;
  line-height: 1.9;
  margin: 0 0 10px;
}

.sw-policy__list {
  list-style: disc;
  padding-left: 1.3em;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.sw-policy__link {
  color: #93c5fd;
  text-decoration: underline;
}

/* SP 調整 */
@media (max-width: 767px) {
  .sw-policy__main {
    padding-top: 72px;
  }

  .sw-policy__section {
    padding: 18px 16px 20px;
  }
}

/* =============================
   TERMS OF USE (RULE PAGE)
   ============================= */

.sw-rule__main {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  color: #e5e7eb;
}

.sw-rule__head {
  margin-bottom: 20px;
}

.sw-rule__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sw-rule__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-rule__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5f5;
}

/* 目次 */
.sw-rule__toc {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(148,163,184,0.5);
}

.sw-rule__toc-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.sw-rule__toc ol {
  margin: 0;
  padding-left: 1.2em;
  font-size: 12px;
  line-height: 1.7;
}

.sw-rule__toc a {
  color: #93c5fd;
  text-decoration: underline;
}

/* 各条文セクション */
.sw-rule__section {
  margin-top: 16px;
  padding: 18px 20px 20px;
  border-radius: 20px;
  background: rgba(15,23,42,0.88);
  border: 1px solid rgba(30,64,175,0.6);
  box-shadow: 0 16px 32px rgba(0,0,0,0.55);
  position: relative;
}

/* 左のアクセントライン */
.sw-rule__section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f973b7, #a855f7, #facc15);
}

.sw-rule__section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  padding-left: 4px;
}

.sw-rule__text {
  font-size: 13px;
  line-height: 1.9;
  margin: 0 0 8px;
}

/* 箇条書き */
.sw-rule__list {
  margin: 4px 0 0;
  padding-left: 1.3em;
  font-size: 13px;
  line-height: 1.8;
}

.sw-rule__link {
  color: #93c5fd;
  text-decoration: underline;
}

.sw-rule__end {
  margin-top: 6px;
  text-align: right;
}

/* SP 調整 */
@media (max-width: 767px) {
  .sw-rule__main {
    padding-top: 72px;
  }
  .sw-rule__section {
    padding: 16px 16px 18px;
  }
}

/* =============================
   SPECIFIC COMMERCIAL TRANSACTIONS (特商法)
   ============================= */

.sw-specific__main {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  color: #e5e7eb;
}

.sw-specific__head {
  margin-bottom: 20px;
}

.sw-specific__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sw-specific__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-specific__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5f5;
}

/* カード */
.sw-specific__card {
  margin-top: 18px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 22px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.55);
}

/* リスト（2カラム風） */
.sw-specific__list {
  margin: 0;
  padding: 0;
}

.sw-specific__row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 10px 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(30,64,175,0.4);
}

.sw-specific__row:last-child {
  border-bottom: none;
}

.sw-specific__row dt,
.sw-specific__row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.sw-specific__row dt {
  font-weight: 600;
  color: #e5e7eb;
}

.sw-specific__row dd {
  color: #e5e7eb;
}

.sw-specific__link {
  color: #93c5fd;
  text-decoration: underline;
}

/* SP 調整 */
@media (max-width: 767px) {
  .sw-specific__main {
    padding-top: 72px;
  }

  .sw-specific__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .sw-specific__row dt {
    font-size: 12px;
  }
}
/* ============================
   LOGGED-IN HEADER
   ============================ */
.sw-header-auth {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148,163,184,0.25);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.sw-header-auth__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sw-header-auth__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sw-header-auth__mark {
  background: linear-gradient(90deg, #f973b7, #a855f7, #facc15);
  -webkit-background-clip: text;
  color: transparent;
  font-size: 26px;
  font-weight: 900;
  margin-right: 6px;
}

.sw-header-auth__text {
  font-size: 18px;
  font-weight: 700;
  color: #e2e8f0;
}

.sw-header-auth__nav {
  display: flex;
  gap: 22px;
}

.sw-nav-item {
  font-size: 14px;
  color: #cbd5e1;
  text-decoration: none;
}

.sw-nav-item:hover {
  color: #ffffff;
}

/* ============================
   LOGGED-IN FOOTER
   ============================ */

.sw-footer-auth {
  background: rgba(15,23,42,0.9);
  padding: 32px 0 28px;
  border-top: 1px solid rgba(148,163,184,0.25);
}

.sw-footer-auth__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.sw-footer-auth__links a {
  color: #cbd5e1;
  font-size: 12px;
  margin: 0 6px;
  text-decoration: none;
}

.sw-footer-auth__links a:hover {
  color: #ffffff;
}

.sw-footer-auth__copy {
  margin-top: 18px;
  font-size: 11px;
  color: #64748b;
}

/* =============================
   HOME PAGE – CATEGORY SECTION
   ============================= */

.sw-home-category-head {
  margin-bottom: 16px;
}

.sw-home-category-label {
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #94a3b8;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.sw-home-category-title {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.sw-home-category-en {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, #f973b7, #a855f7, #facc15);
  -webkit-background-clip: text;
  color: transparent;
}

.sw-home-category-ja {
  font-size: 13px;
  font-weight: 400;
  color: #e2e8f0;
}

.sw-home-category-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-top: 6px;
  margin-bottom: 10px;
}

.dc-grid-stamp {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.dc-grid-stamp-item {
  display: block;
  text-decoration: none;
  padding: 10px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  text-align: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.dc-grid-stamp-item:hover {
  transform: translateY(-4px);
  opacity: 0.92;
}

.dc-grid-stamp-item img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px; /* 角を少し丸めてなじませる */
}

.dc-grid-stamp-item div {
  font-size: 12px;
  margin-top: 6px;
  color: #e2e8f0;
}

.dc-filter-box {
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.dc-tag-list {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dc-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(148,163,184,0.3);
}

.dc-category-section {
  margin-top: 30px;
  text-align: center;
}

.dc-category-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #e2e8f0;
}

.dc-category-lead {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.dc-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

.dc-category-card {
  padding: 14px 10px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
  text-decoration: none;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  transition: 0.25s ease;
}

.dc-category-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.dc-category-card-label {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

@media (max-width: 767px) {
  .sw-home-category-en {
    font-size: 18px;
  }

  .sw-home-category-desc {
    font-size: 12px;
  }

  .dc-grid-stamp {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  }

  .dc-category-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* =============================
   HOME DASHBOARD
   ============================= */

.sw-home__main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px 80px;
}

.sw-home-hero {
  margin-bottom: 32px;
}

.sw-home-hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 26px;
  border-radius: 26px;
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.35), rgba(15,23,42,0.96));
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow: 0 24px 60px rgba(0,0,0,0.75);
  position: relative;
  overflow: hidden;
}

.sw-home-hero__inner::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: conic-gradient(from 180deg, #f973b7, #a855f7, #facc15, #38bdf8, #f973b7);
  opacity: 0.35;
  filter: blur(10px);
  animation: swHeroGlow 18s linear infinite;
}

@keyframes swHeroGlow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sw-home-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.sw-home-hero__label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #cbd5f5;
  margin-bottom: 6px;
}

.sw-home-hero__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: none;
}

.sw-home-hero__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #e5e7eb;
  margin-bottom: 14px;
}

.sw-home-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sw-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.6);
  color: #e5e7eb;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.sw-pill:hover {
  background: rgba(248,250,252,0.1);
  border-color: #facc15;
  transform: translateY(-2px);
}

/* デバイス風プレビュー */
.sw-home-hero__visual {
  position: relative;
  z-index: 1;
  flex: 1 1 260px;
  display: flex;
  justify-content: flex-end;
}

.sw-hero-device {
  width: 220px;
  border-radius: 28px;
  background: radial-gradient(circle at 0 0, rgba(148,163,184,0.4), #020617);
  padding: 16px 14px 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.9);
}

.sw-hero-device__screen {
  position: relative;
  border-radius: 18px;
  background: #020617;
  padding: 10px;
  overflow: hidden;
  height: 150px;
}

.sw-hero-wall {
  position: absolute;
  border-radius: 16px;
  filter: blur(0.2px);
}

.sw-hero-wall--hisense {
  inset: 14px 18px auto 18px;
  height: 54px;
  background: linear-gradient(135deg,#0f172a,#64748b);
}

.sw-hero-wall--art {
  inset: 76px 80px 20px 18px;
  background: linear-gradient(135deg,#38bdf8,#8b5cf6);
}

.sw-hero-wall--pop {
  inset: 76px 18px 20px 80px;
  background: linear-gradient(135deg,#f97316,#f973b7);
}

.sw-hero-wall--animal {
  width: 52px;
  height: 52px;
  right: 26px;
  top: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%,#fef3c7,#facc15,#f97316);
}

.sw-hero-device__label {
  margin-top: 8px;
  font-size: 11px;
  color: #cbd5e1;
  text-align: center;
}

/* 各カテゴリセクション共通カード */
.sw-home-section {
  margin-bottom: 26px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(30,64,175,0.6);
  box-shadow: 0 16px 38px rgba(0,0,0,0.7);
}

.sw-home-section__head {
  margin-bottom: 10px;
}

/* 既に作ったカテゴリ見出し系を再利用 */
.sw-home-category-label {
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.sw-home-category-title {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.sw-home-category-en {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(90deg,#f973b7,#a855f7,#facc15);
  -webkit-background-clip: text;
  color: transparent;
}

.sw-home-category-ja {
  font-size: 13px;
  color: #e5e7eb;
}

.sw-home-category-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-top: 6px;
}

.sw-home-section__more {
  margin-top: 14px;
}

/* 既存グリッドを少し詰める */
.sw-home-section .dc-grid-stamp {
  margin-top: 10px;
}

/* カテゴリ一覧セクションだけ少し余白広め */
.sw-home-section--categories {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .sw-home__main {
    padding: 72px 14px 60px;
  }

  .sw-home-hero__inner {
    padding: 20px 18px 22px;
  }

  .sw-home-hero__visual {
    justify-content: center;
  }

  .sw-hero-device {
    width: 200px;
  }

  .sw-home-category-en {
    font-size: 17px;
  }

  .sw-home-category-desc {
    font-size: 12px;
  }
}

/* ギャラリー：Stamp Wall っぽい枠＋白背景 */
.dc-grid-stamp-item {
  position: relative;
  border-radius: 18px;
  padding: 2px; /* 枠用の余白 */
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(148, 163, 184, 0.4), rgba(15, 23, 42, 1)),
    linear-gradient(135deg, #f973b7, #a855f7, #facc15); /* 外側のニュアンス用グラデ */
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.6);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

/* 内側の白いパネルを疑似要素で作る（画像の邪魔をしない） */
.dc-grid-stamp-item::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 16px;
  background: #ffffff;
}

/* 画像を前面へ */
.dc-grid-stamp-item img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px; /* 角を少し丸めてなじませる */
}

/* ホバー時：ほんのり浮かせて光らせる */
.dc-grid-stamp-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.78);
  opacity: 0.98;
}

/* =============================
   LIST PAGE – GALLERY
   ============================= */

.sw-list__main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px 70px;
}

/* HERO */
.sw-list-hero {
  margin-bottom: 26px;
}

.sw-list-hero__label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #cbd5f5;
  margin-bottom: 4px;
}

.sw-list-hero__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-list-hero__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #e5e7eb;
  max-width: 640px;
}

.sw-list-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.sw-list-hero__badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg,#f973b7,#a855f7,#facc15);
  color: #111827;
  font-weight: 600;
}

.sw-list-hero__count {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: #cbd5e1;
}

/* GALLERY GRID */
.sw-list-grid-section {
  margin-bottom: 32px;
}

.sw-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}

/* カード本体 */
.sw-list-card {
  position: relative;
  border-radius: 20px;
  padding: 2px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(148, 163, 184, 0.35), rgba(15, 23, 42, 1)),
    linear-gradient(135deg, #f973b7, #a855f7, #facc15);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.7);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

/* 内側の白パネル */
.sw-list-card__frame {
  position: relative;
  inset: 1px;
  border-radius: 18px;
  background: #ffffff;
  padding: 8px;
  /* 壁紙もスタンプも無理なく収まる比率（やや縦長） */
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 画像表示：透過・黒線もくっきり */
.sw-list-card__frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ホバー（PCのみ） */
@media (min-width: 768px) {
  .sw-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.85);
    opacity: 0.98;
  }
}

/* ページネーション */
.sw-list-pagination nav {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

/* original.blade.php 側の class にあわせて調整する想定 */
.sw-list-pagination .page-link {
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.45);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 6px 12px;
  margin: 0 4px;
  font-size: 12px;
}

.sw-list-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #f973b7, #a855f7, #facc15);
  color: #111827;
  font-weight: 600;
}

/* 下部カテゴリセクション（home のものを流用しつつ余白調整） */
.sw-list-categories {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .sw-list__main {
    padding: 72px 14px 60px;
  }

  .sw-list-grid {
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 14px;
  }

  .sw-list-hero__title {
    font-size: 20px;
  }

  .sw-list-hero__lead {
    font-size: 12px;
  }
}

/* =============================
   SEARCH PAGE
   ============================= */

.sw-search__main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px 70px;
}

/* HERO */
.sw-search-hero {
  margin-bottom: 24px;
}

.sw-search-hero__label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #cbd5f5;
  margin-bottom: 4px;
}

.sw-search-hero__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-search-hero__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #e5e7eb;
  max-width: 640px;
}

/* 検索フォーム */
.sw-search-form {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(30,64,175,0.65);
  box-shadow: 0 16px 34px rgba(15,23,42,0.8);
}

.sw-search-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sw-search-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sw-search-form__field label {
  font-size: 12px;
  color: #cbd5e1;
}

.sw-search-form__field--keyword {
  flex: 1 1 260px;
}

.sw-search-form__field--type {
  width: 190px;
}

.sw-search-form input[type="text"],
.sw-search-form select {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 6px 12px;
  font-size: 13px;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
}

.sw-search-form__actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sw-search-form__reset {
  font-size: 12px;
  color: #93c5fd;
  text-decoration: underline;
}

/* 検索結果 */
.sw-search-result {
  margin-top: 26px;
}

.sw-search-result__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.sw-search-result__title {
  font-size: 16px;
  font-weight: 600;
}

.sw-search-result__summary {
  font-size: 12px;
  color: #cbd5e1;
}

.sw-search-result__empty {
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 10px;
}

/* 検索結果グリッド */
.sw-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}

/* カテゴリギャラリー */
.sw-search-categories {
  margin-top: 40px;
}

.sw-search-categories__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sw-search-categories__lead {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.sw-search-cat-block {
  margin-bottom: 26px;
  padding: 16px 16px 18px;
  border-radius: 20px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(30,64,175,0.65);
  box-shadow: 0 18px 38px rgba(15,23,42,0.85);
}

.sw-search-cat-head {
  margin-bottom: 10px;
}

.sw-search-cat-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #94a3b8;
}

.sw-search-cat-title {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: 2px;
}

.sw-search-cat-en {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(90deg,#f973b7,#a855f7,#facc15);
  -webkit-background-clip: text;
  color: transparent;
}

.sw-search-cat-ja {
  font-size: 13px;
  color: #e5e7eb;
}

.sw-search-cat-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  gap: 10px;
}

.sw-search-cat-more {
  margin-top: 12px;
  text-align: right;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .sw-search__main {
    padding: 72px 14px 60px;
  }

  .sw-search-form__row {
    flex-direction: column;
  }

  .sw-search-form__field--type {
    width: 100%;
  }

  .sw-search-result__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sw-search-grid {
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  }

  .sw-search-cat-grid {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
  }
}

.sw-search-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* PC 基本レイアウト：行間を少し詰める */
.sw-search-form__row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;   /* 横だけ 16px */
  row-gap: 8px;       /* 縦は 8px にして圧縮 */
}

/* ラベルと入力の間もちょい詰め */
.sw-search-form__field {
  display: flex;
  flex-direction: column;
  gap: 2px;  /* 4px → 2px */
}

/* スマホ時：さらにぎゅっと */
@media (max-width: 767px) {
  .sw-search-form__row {
    flex-direction: column;
    row-gap: 6px;    /* 1つ1つのフィールドを近づける */
  }
}

/* =============================
   SEARCH FORM TUNING
   ============================= */

/* カード自体を少しコンパクトに */
.sw-search-form {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
}

/* 1カラムで縦に並べる：キーワード→カテゴリ → ボタン */
.sw-search-form__row {
  display: block;
}

/* ラベル＋入力の余白を最小限に */
.sw-search-form__field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.sw-search-form__field:last-of-type {
  margin-bottom: 6px;
}

/* インプット／セレクトの高さを抑えてスッキリ */
.sw-search-form input[type="text"],
.sw-search-form select {
  height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  font-size: 13px;
}

/* ボタンエリア：左寄せでキュッと */
.sw-search-form__actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 検索ボタンをStamp Wall風のグラデ丸ボタンに */
.sw-search-form .dc-btn.dc-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f973b7, #a855f7, #facc15);
  color: #111827;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.85);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.sw-search-form .dc-btn.dc-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,23,42,0.95);
  opacity: 0.97;
}

/* リセットリンクも少しだけ整える */
.sw-search-form__reset {
  font-size: 12px;
  color: #93c5fd;
  text-decoration: underline;
}

/* スマホはほぼ同じレイアウトなので微調整だけ */
@media (max-width: 767px) {
  .sw-search-form {
    padding: 12px 12px;
  }
  .sw-search-form input[type="text"],
  .sw-search-form select {
    height: 38px;
    font-size: 12px;
  }
}

/* =============================
   VIEW PAGE – SINGLE PREVIEW
   ============================= */

.sw-view__main {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 20px 70px;
}

/* HERO */
.sw-view-hero {
  margin-bottom: 24px;
}

.sw-view-hero__label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #cbd5f5;
  margin-bottom: 4px;
}

.sw-view-hero__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sw-view-hero__lead {
  font-size: 13px;
  line-height: 1.8;
  color: #e5e7eb;
  max-width: 640px;
}

/* PREVIEW */
.sw-view-preview {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 外枠：Stamp Wall っぽいグラデのフレーム */
.sw-view-preview__outer {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 26px;
  padding: 2px;
  background:
    radial-gradient(circle at 0% 0%, rgba(148, 163, 184, 0.35), rgba(15, 23, 42, 1)),
    linear-gradient(135deg, #f973b7, #a855f7, #facc15);
  box-shadow: 0 18px 40px rgba(15,23,42,0.85);
}

/* 内側：白いキャンバス */
.sw-view-preview__frame {
  border-radius: 24px;
  background: #ffffff;
  padding: 18px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 画像：スタンプも壁紙も中央に */
.sw-view-preview__img {
  max-width: 100%;
  max-height: 540px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 利用方法メモ */
.sw-view-note {
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(30,64,175,0.65);
}

.sw-view-note__title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.sw-view-note__list {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #cbd5e1;
}

/* 戻るボタン */
.sw-view-actions {
  margin-top: 8px;
  text-align: center;
}

.sw-view-btn {
  border: none;
  cursor: pointer;
}

.sw-view-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f973b7, #a855f7, #facc15);
  color: #111827;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.9);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.sw-view-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15,23,42,1);
  opacity: 0.97;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .sw-view__main {
    padding: 72px 14px 60px;
  }

  .sw-view-preview__outer {
    max-width: 100%;
  }
}

  /* ── HERO：幾何学グラデーションアニメ（縦長＆多色） ───────── */

  .sw-hero-geo-screen {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: radial-gradient(circle at 50% 0%, #020617, #020617 40%, #0b1120 80%);
    /* ここで縦長にする */
    aspect-ratio: 16 / 22;
    width: 100%;
  }

  .sw-hero-geo-layer {
    position: absolute;
    inset: 6%;
    border-radius: 32px;
    mix-blend-mode: screen;
    opacity: 0.98;
    filter: saturate(1.2);
  }

  /* 多色レイヤー１：ピンク〜パープル〜ブルー */
  .sw-hero-geo-layer--1 {
    background: conic-gradient(
      from 210deg,
      #f973b7,
      #a855f7,
      #6366f1,
      #0ea5e9,
      #22c55e,
      #facc15,
      #fb7185,
      #f973b7
    );
    animation: swGeoFloat1 20s ease-in-out infinite alternate;
  }

  /* 多色レイヤー２：シアン〜ライム〜オレンジ */
  .sw-hero-geo-layer--2 {
    background: radial-gradient(
      circle at 0% 120%,
      #22d3ee 0%,
      #0ea5e9 25%,
      #22c55e 55%,
      #facc15 80%,
      #fb923c 100%
    );
    animation: swGeoFloat2 24s ease-in-out infinite alternate;
  }

  /* 多色レイヤー３：ディープブルー〜マゼンタ */
  .sw-hero-geo-layer--3 {
    background: radial-gradient(
      circle at 110% -10%,
      #f472b6 0%,
      #db2777 25%,
      #7c3aed 55%,
      #0f172a 100%
    );
    animation: swGeoFloat3 26s ease-in-out infinite alternate;
  }

  /* ほんのり暗い影レイヤー（奥行き用） */
  .sw-hero-geo-layer--shadow {
    background: radial-gradient(circle at 50% 50%, transparent 0%, #020617 70%);
    mix-blend-mode: normal;
    opacity: 0.6;
  }

  @keyframes swGeoFloat1 {
    0%   { transform: translate3d(-8%, -4%, 0) rotate(-8deg) scale(1.05); }
    100% { transform: translate3d(6%, 8%, 0)  rotate(6deg)  scale(1.12); }
  }

  @keyframes swGeoFloat2 {
    0%   { transform: translate3d(6%, 6%, 0)   rotate(10deg) scale(0.98); }
    100% { transform: translate3d(-4%, -6%, 0) rotate(-6deg) scale(1.06); }
  }

  @keyframes swGeoFloat3 {
    0%   { transform: translate3d(-3%, 4%, 0)  rotate(-4deg) scale(1.02); }
    100% { transform: translate3d(3%, -8%, 0)  rotate(4deg)  scale(1.08); }
  }

  .sw-hero-geo-caption {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.7;
    color: #e5e7eb;
    opacity: 0.95;
  }

  .sw-hero-geo-caption span {
    display: inline-block;
    background: linear-gradient(90deg,#f973b7,#a855f7,#0ea5e9,#22c55e,#facc15);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
  }

  /* HERO の下に十分な余白を確保して、次セクションと重ならないようにする */
  .dw-hero {
    padding-bottom: 100px;
  }

  @media (max-width: 767px) {
    .dw-hero {
      padding-bottom: 160; /* SPはデバイスが長いので少し多めに */
    }
  }


/* UNSUBSCRIBE COMPLETE PAGE */
.sw-unsub-complete {
  color: #fff;
}

.sw-unsub-complete-card {
  max-width: 720px;
  margin: 24px auto 40px;
  padding: 24px 20px;
  border-radius: 14px;
  background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.95),
      rgba(15, 23, 42, 0.9)
  );
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
}

.sw-unsub-complete-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sw-unsub-complete-title--success {
  color: #a5b4fc; /* やわらかいブルー */
}

.sw-unsub-complete-title--error {
  color: #fb7185; /* エラートーンだけどパステル寄り */
}

.sw-unsub-complete-text {
  font-size: 15px;
  line-height: 1.9;
  color: #cbd5e1;
}

@media (max-width: 767px) {
  .sw-unsub-complete-card {
    margin: 20px 16px 32px;
    padding: 20px 16px;
  }
}

/* ================================
   UNSUBSCRIBE PAGE
================================ */

/* specific ページと同じ寄せ方用コンテナ */
.sw-unsubscribe .sw-main {
  max-width: 960px;
  margin: 0 auto 48px;
  padding: 40px 16px 48px;
}

/* ページヘッダー（LEGAL NOTICE 風） */
.sw-unsub-head {
  margin-bottom: 32px;
}

.sw-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #94a3b8;
  margin-bottom: 6px;
}

.sw-page-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sw-page-lead {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
}

/* カード（specific のテーブルカードと同系統） */
.sw-card {
  background: rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 24px 28px 28px;
  margin: 0 auto 32px;
  max-width: 960px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}

.sw-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sw-card-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sw-card-list li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: #e2e8f0;
}

/* ボタンエリア */
.sw-unsub-actions {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 4px;
  text-align: center;
}

/* 退会ボタン */
.sw-btn--danger {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  background: linear-gradient(90deg,#ff7aa8,#ff3d80);
  color: #fff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  width: 260px;
  font-weight: 600;
  text-align: center;
}

.sw-btn--danger:hover {
  opacity: 0.9;
}

/* 注意文 */
.sw-caution {
  margin-top: 14px;
  font-size: 12px;
  color: #64748b;
}

.sw-unsubscribe .sw-main,
.sw-unsub-complete .sw-main {
  max-width: 960px;
  margin: 0 auto 48px;
  padding: 40px 16px 48px;
}

/* 共通ボタンベース */
.sw-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

/* 既存の sw-btn--danger はそのまま利用 */
.sw-btn--danger {
  background: linear-gradient(90deg,#ff7aa8,#ff3d80);
  color: #fff;
  width: 260px;
}

.sw-btn--danger:hover {
  opacity: 0.9;
}

/* ニュートラルボタン（枠線のみ） */
.sw-btn--neutral {
  background: transparent;
  border: 1px solid rgba(148,163,184,0.75);
  color: #e2e8f0;
  min-width: 220px;
}

.sw-btn--neutral:hover {
  background: rgba(148,163,184,0.12);
}

/* ボタン並び */
.sw-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.sw-card--success {
  border-color: rgba(56,189,248,0.7);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.12);
}

.sw-card--error {
  border-color: rgba(248,113,113,0.8);
  box-shadow: 0 0 0 1px rgba(248,113,113,0.16);
}

/* トップページのコンテンツ幅を中央寄せ（PCのみ） */
.dw-main--center {
  max-width: 1120px;
  margin: 0 auto 56px;
  padding: 0 16px 56px;
}

/* モバイルは従来どおり画面いっぱいでOK */
@media (max-width: 767px) {
  .dw-main--center {
    max-width: 100%;
    margin: 0 auto 40px;
    padding: 0 12px 40px;
  }
}