@charset "utf-8";
:root {
  --dc-teal: #0cc6aa;
  --dc-teal-soft: #e0f9f3;
  --dc-bg: #f5f7fb;
  --dc-card-bg: #ffffff;
  --dc-text-main: #334155;
  --dc-text-soft: #64748b;
  --dc-radius-lg: 20px;
  --dc-shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.08);
  --dc-shadow-chip: 0 6px 18px rgba(148, 163, 184, 0.35);
}

/* reset (最小限) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", sans-serif;
  background: var(--dc-bg);
  color: var(--dc-text-main);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 全体ラッパ */
.dc-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ヘッダー */
.dc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.15);
}

.dc-header__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dc-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Baloo 2", system-ui;
  font-weight: 700;
  font-size: 20px;
  color: var(--dc-text-main);
}

.dc-logo__mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0cc6aa, #5de3c9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.dc-logo__text {
  letter-spacing: 0.06em;
}

.dc-header__nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
  font-size: 11px;
}

.dc-header__nav a {
  color: var(--dc-text-soft);
}

.dc-header__cta {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 999px;
  background: var(--dc-teal);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(34, 197, 145, 0.35);
}

/* メイン */
.dc-main {
  flex: 1;
}

/* ヒーロー（トップ用） */
.dc-hero {
  position: relative;
  overflow: hidden;
}

.dc-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, #d9fbff 0, transparent 55%),
    radial-gradient(circle at bottom right, #e0f9f3 0, transparent 58%),
    #f3f4ff;
  z-index: -1;
}

.dc-hero__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 14px 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}

.dc-hero__copy {
  padding-right: 4px;
}

.dc-hero__label {
  font-size: 11px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  margin-bottom: 6px;
}

.dc-hero__title {
  font-family: "Baloo 2", system-ui;
  font-size: 24px;
  line-height: 1.35;
  margin: 0 0 6px;
}

.dc-hero__title span {
  color: var(--dc-teal);
}

.dc-hero__text {
  font-size: 12px;
  color: var(--dc-text-soft);
  margin: 0 0 10px;
}

.dc-hero__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.dc-btn {
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.dc-btn--primary {
  background: linear-gradient(135deg, #0cc6aa, #22c55e);
  color: #fff;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
}

.dc-btn--ghost {
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--dc-text-main);
  background: #ffffff;
}

.dc-btn--wide {
  width: 100%;
}

.dc-hero__note {
  font-size: 10px;
  color: #94a3b8;
}

/* ヒーロープレビュー */
.dc-hero__preview {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--dc-radius-lg);
  box-shadow: var(--dc-shadow-soft);
  padding: 8px 8px 12px;
  align-self: center;
}

.dc-hero-slider {
  display: grid;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.dc-hero-slider__item {
  grid-area: 1 / 1 / 2 / 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.dc-hero-slider__item.is-active {
  opacity: 1;
  transform: translateX(0);
}

.dc-hero-slider__item img {
  width: 100%;
  border-radius: 10px;
}

.dc-hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.dc-hero-dots button {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background: #cbd5f5;
  padding: 0;
  cursor: pointer;
}

.dc-hero-dots button.is-active {
  width: 16px;
  background: var(--dc-teal);
}

/* セクション共通 */
.dc-section {
  padding: 12px 0 20px;
}

.dc-section--alt {
  background: #f0f5ff;
}

.dc-section__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 14px;
}

.dc-section__head {
  text-align: left;
  margin-bottom: 12px;
}

.dc-section__head--sub {
  margin-top: 18px;
}

.dc-section__eyecatch {
  font-size: 11px;
  color: var(--dc-teal);
  margin-bottom: 4px;
}

.dc-section__title {
  font-family: "Baloo 2", system-ui;
  font-size: 18px;
  margin: 0 0 4px;
}

.dc-section__lead {
  font-size: 12px;
  color: var(--dc-text-soft);
  margin: 0;
}

.dc-section__center {
  margin-top: 14px;
}

/* カード */
.dc-card-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dc-card {
  background: var(--dc-card-bg);
  border-radius: var(--dc-radius-lg);
  box-shadow: var(--dc-shadow-soft);
  padding: 10px;
}

.dc-card__tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  margin-bottom: 8px;
}

.dc-card__stamps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.dc-card__stamps img {
  width: 100%;
  border-radius: 10px;
}

.dc-card__text {
  font-size: 11px;
  color: var(--dc-text-soft);
  margin: 0 0 8px;
}

.dc-card__link {
  font-size: 11px;
  color: var(--dc-teal);
  text-decoration: none;
}

/* 種類別タブ */
.dc-switch {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.dc-switch__btn {
  flex: 1;
  border-radius: 999px;
  border: none;
  padding: 6px 0;
  font-size: 11px;
  background: #e2e8f4;
  color: #64748b;
  cursor: pointer;
}

.dc-switch__btn.is-active {
  background: #0cc6aa;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(34, 197, 145, 0.35);
}

.dc-switch-panels {
  border-radius: var(--dc-radius-lg);
  background: var(--dc-card-bg);
  padding: 8px;
  box-shadow: var(--dc-shadow-soft);
}

.dc-switch-panel {
  display: none;
}

.dc-switch-panel.is-active {
  display: block;
}

.dc-stamp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.dc-stamp-grid img {
  width: 100%;
  border-radius: 10px;
}

/* 料金ボックス */
.dc-plan {
  background: linear-gradient(145deg, #e0f9f3, #e0f2fe);
  border-radius: 26px;
  padding: 16px 18px 16px;
  box-shadow: var(--dc-shadow-soft);
  text-align: center;
}

.dc-plan__price {
  margin-bottom: 6px;
}

.dc-plan__price-main {
  font-family: "Baloo 2", system-ui;
  font-size: 28px;
  color: var(--dc-teal);
}

.dc-plan__price-sub {
  font-size: 12px;
  margin-left: 4px;
}

.dc-plan__note {
  font-size: 11px;
  color: var(--dc-text-soft);
  margin: 0 0 10px;
}

/* 使い方ステップ */
.dc-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dc-step {
  background: var(--dc-card-bg);
  border-radius: var(--dc-radius-lg);
  box-shadow: var(--dc-shadow-soft);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 4px;
  align-items: center;
}

.dc-step__num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Baloo 2", system-ui;
  color: #0f172a;
}

.dc-step__title {
  margin: 0;
  font-size: 13px;
}

.dc-step__text {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--dc-text-soft);
  margin: 0;
}

/* ピル（ジャンル・メニューなど） */
.dc-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dc-pill {
  border-radius: 999px;
  background: #72C6EF;
  padding: 8px 10px;
  font-size: 11px;
  text-align: center;
  box-shadow: var(--dc-shadow-chip);
  color: var(--dc-text-main);
}

/* ページ共通タイトル系 */
.dc-page-header {
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 14px 4px;
}

.dc-page-label {
  font-size: 11px;
  color: var(--dc-teal);
  margin-bottom: 4px;
}

.dc-page-title {
  font-family: "Baloo 2", system-ui;
  font-size: 20px;
  margin: 0 0 4px;
}

.dc-page-lead {
  font-size: 12px;
  color: var(--dc-text-soft);
  margin: 0 0 4px;
}

/* フォーム共通 */
.dc-form-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 14px 20px;
}

.dc-form {
  background: #ffffff;
  border-radius: var(--dc-radius-lg);
  box-shadow: var(--dc-shadow-soft);
  padding: 14px 14px 16px;
}

.dc-form-row {
  margin-bottom: 10px;
}

.dc-form-row label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.dc-form-row input,
.dc-form-row select,
.dc-form-row textarea {
  width: 100%;
  padding: 8px;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.dc-form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.dc-form-note {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
}

/* テキストページ */
.dc-text {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 14px 20px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--dc-text-soft);
}

.dc-text h2 {
  font-size: 14px;
  margin: 12px 0 6px;
  color: var(--dc-text-main);
}

.dc-text p {
  margin: 0 0 8px;
}

.dc-text ul {
  padding-left: 1.2em;
  margin: 0 0 8px;
}

.dc-text li {
  margin-bottom: 4px;
}

/* テーブル（特商法） */
.dc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.dc-table th,
.dc-table td {
  border: 1px solid #e2e8f0;
  padding: 6px;
  vertical-align: top;
}

.dc-table th {
  width: 30%;
  background: #f8fafc;
  font-weight: normal;
}

/* スタンプリスト */
.dc-stamp-list-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 14px 20px;
}

.dc-filter-box {
  margin-bottom: 12px;
  background: #eef2ff;
  border-radius: 16px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--dc-text-soft);
}

.dc-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.dc-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  font-size: 11px;
}

/* グリッド */
.dc-grid-stamp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.dc-grid-stamp-item {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--dc-shadow-soft);
  padding: 6px;
  text-align: center;
  font-size: 10px;
  color: var(--dc-text-soft);
}

.dc-grid-stamp-item img {
  border-radius: 10px;
  margin-bottom: 4px;
}

/* フッター */
.dc-footer {
  padding: 16px 0 22px;
  background: #f1f5f9;
}

.dc-footer__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 14px;
  text-align: center;
  font-size: 10px;
  color: #94a3b8;
}

.dc-footer__links a {
  color: #64748b;
  text-decoration: none;
}

/* フェードインアニメーション */
.dc-fadein {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.dc-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 浮遊アニメーション（プレビュー用） */
.dc-float {
  animation: dc-float 4s ease-in-out infinite;
}

@keyframes dc-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* スマホ幅以外（タブレット〜） */
@media (min-width: 640px) {
  .dc-header__inner,
  .dc-hero__inner,
  .dc-section__inner,
  .dc-page-header,
  .dc-form-wrapper,
  .dc-text,
  .dc-stamp-list-wrapper,
  footer nav {
    max-width: 640px;
  }

  .dc-hero__inner {
    padding-top: 28px;
    padding-bottom: 30px;
  }
}

/* =======================================
   共通カテゴリブロック（home / list / search）
   ======================================= */
.dc-category-section {
  margin-top: 24px;
}

.dc-category-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.dc-category-lead {
  font-size: 12px;
  color: var(--dc-text-soft);
  margin: 0 0 10px;
}

.dc-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.dc-category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #e5e7eb;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(148, 163, 184, 0.25);
}

.dc-category-card-label {
  color: #111827;
  font-weight: 500;
}

.dc-category-card--accent {
  background: #e0f2fe;
}

.dc-category-card--accent:hover {
  background: #bae6fd;
}

.dc-category-card:hover {
  background: #d4d4d8;
}

/* ============================
   resistページ
   ============================ */

/* ▼ ページ全体の横幅を中央に寄せる */
.regist .dc-main {
  max-width: 880px;
  margin: 0 auto 40px;
  padding: 0 16px;
}

/* ▼ ページヘッダー：中央ブロック＋左寄せテキスト（他ページと合わせる） */
.regist .dc-page-header {
  max-width: 720px;
  margin: 20px auto 24px;
  padding: 0;
  text-align: left;
}

.regist .dc-page-label {
  font-size: 12px;
  color: #0cc6aa; /* ティール系 */
  margin-bottom: 4px;
}

.regist .dc-page-title {
  font-size: 22px;
  font-weight: 700;
}

/* --- Section 全体：ブロックは中央、文字は左揃え --- */
.regist section {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: left !important;
}

/* --- h2 見出し（利用規約/お支払い方法/ご利用ガイド） --- */
.regist .other_obi {
  text-align: left !important;
  margin: 25px 0 15px !important;
  font-size: 20px !important;
  font-weight: 700;
}

/* --- 各セクション内の ul（リスト） --- */
.regist section ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
}

.regist section ul li {
  margin: 8px 0;
  text-align: left !important;
}

/* ============================
   キャリア決済ボタンデザイン
   ============================ */

/* 支払いリスト全体（縦並び） */
.regist .payment-list {
  margin-top: 16px;
}

/* 1つ1つのキャリアブロックは中央寄せ */
.regist .docomo,
.regist .au,
.regist .softbank {
  text-align: center;
  margin: 18px auto 26px;
}

/* ボタン本体：ロゴを中に入れてタップ範囲を広げる */
.regist .buttonMobileCarriers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 8px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.12s ease;
}

/* ロゴ画像：高さで揃える（幅は自動） */
.regist .buttonMobileCarriers img {
  height: 44px;              /* ここで3社ロゴの高さを統一 */
  width: auto;
  max-width: 100%;
  display: block;
}

/* ボタンのhover/タップ時エフェクト（PC/スマホ共通） */
.regist .buttonMobileCarriers:hover {
  opacity: 0.96;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
}

.regist .buttonMobileCarriers:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

/* キャリア説明文（下のテキスト） */
.regist .descriptionMobileCarriers {
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

/* --- 説明リンクに下線を追加 --- */
.regist .link_blue,
.regist a.link_blue {
  color: #0a7cff !important;
  text-decoration: underline !important;
}

/* 利用規約リンクなど、テキストリンク全般にも下線 */
.regist a {
  text-decoration: underline;
}

/* ============================
   regist：セクション区切りボーダー
   ============================ */
.regist section {
  position: relative;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* 上のボーダー */
.regist section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
      90deg,
      rgba(180, 194, 214, 0) 0%,
      rgba(180, 194, 214, 0.6) 25%,
      rgba(180, 194, 214, 0.6) 75%,
      rgba(180, 194, 214, 0) 100%
  );
  pointer-events: none;
}

/* 最初のセクションだけ上線なし */
.regist section:first-of-type::before {
  display: none;
}

/* 下のボーダー（任意） */
.regist section::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
      90deg,
      rgba(180, 194, 214, 0) 0%,
      rgba(180, 194, 214, 0.45) 25%,
      rgba(180, 194, 214, 0.45) 75%,
      rgba(180, 194, 214, 0) 100%
  );
  pointer-events: none;
}

/* 登録完了ページ：中央ブロック化＋左寄せ */
.registered {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.registered-box {
  background: #ffffff;
  padding: 20px 20px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  margin-top: 8px;
}

.registered-text {
  text-align: left;
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 14px;
}

.registered-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 10px;
  font-size: 14px;
}

.registered-table th,
.registered-table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 8px 10px;
}

.registered-table th {
  width: 80px;
  background: #f9fafb;
  text-align: left;
  font-weight: 600;
}

.registered-table td {
  text-align: left;
  word-break: break-all;
}

.registered-note {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
  text-align: left;
}

.registered-nav {
  margin-top: 18px;
  justify-content: center;
}

/*****************************************/
/* FAQページ */
*****************************************/
.faq .dc-page-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 6px auto 10px;
}

.faq .dc-page-lead {
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.faq ol {
  margin: 0 0 20px;
  padding-left: 1.2em;
}

.faq ol li {
  margin: 4px 0;
}

.faq section h2 {
  margin: 24px 0 8px;
  font-size: 16px;
}

.faq .link_blue {
  text-decoration: underline;
}

/***************************************************
 * FAQページ：中央ブロック化＋テキスト左寄せ維持
 ***************************************************/
.faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}


.faq section,
.faq p,
.faq ul,
.faq ol,
.faq h2 {
  text-align: left !important;
}


/***************************************************
 * お問い合わせページ：中央ブロック化＋テキスト左寄せ維持
 ***************************************************/
/* inquiryページ中央ブロック＋テキスト左寄せ */
.inquiry {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.inquiry-box {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.inquiry-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: left;
}

.inquiry-text {
  text-align: left;
  line-height: 1.7;
  font-size: 14px;
}

.inquiry-sub ul {
  margin-top: 10px;
  padding-left: 16px;
}

.inquiry-sub ul li {
  margin-bottom: 6px;
}

.inquiry .link_blue {
  text-decoration: underline !important;
}

/* 利用規約ページの中央ブロック化＋テキスト左寄せ */
.rule {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.rule section h2 {
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.rule p,
.rule ol,
.rule li {
  text-align: left;
  line-height: 1.7;
  font-size: 14px;
}

/* プライバシーポリシーページ：中央ブロック＋左寄せテキスト */
.policy {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.policy section h2 {
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.policy p {
  text-align: left;
  line-height: 1.7;
  font-size: 14px;
}

.policy .link_blue {
  text-decoration: underline !important;
}

/* 特商法ページ：中央ブロック＋左寄せテキスト */
.specific {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.specific section h2 {
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.specific p {
  text-align: left;
  line-height: 1.7;
  font-size: 14px;
}

/* コンテンツ検索ページの中央ブロック化 */
.search {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================
   検索フォーム周り
   ============================ */
.search-box {
  background: #ffffff;
  padding: 18px 20px 20px;
  border-radius: 18px;
  margin: 0 0 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.search-form-caption {
  font-size: 11px;
  color: #94a3b8;
  margin: 0 0 10px;
}

/* 入力とボタンを横並び（スマホでは折り返し） */
.search-form-inner {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1 1 220px;
  min-width: 0;
}

.search-button-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
}

/* ボタンを丸いグラデーションに */
.search-button {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0cc6aa, #22c55e);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(16, 185, 129, 0.45);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.15s ease;
}

/* hover/タップ時のちょいエフェクト */
.search-button:hover {
  opacity: 0.95;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.4);
}

.search-button:active {
  transform: translateY(1px);
  box-shadow: 0 5px 12px rgba(16, 185, 129, 0.35);
}

/* スマホで縦積みになったときの余白調整 */
@media (max-width: 640px) {
  .search-form-inner {
    align-items: stretch;
  }
  .search-button-wrap {
    width: 100%;
    justify-content: flex-end;
    margin-top: 8px;
  }
}

}

/* 検索結果の件数表示 */
.search-result-info {
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

/* 結果グリッドの調整 */
.search-grid {
  margin-top: 12px;
}

.search-grid-item image,
.search-grid-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ページネーション位置調整 */
.search-pagination {
  margin-top: 16px;
  text-align: center;
}

/* =======================================
   searchページ：サムネイルをLISTと同じレイアウトに
   ======================================= */

/* PC〜タブレットでは最大5列 */
.search .grid-container {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 12px;
}

/* タブレットサイズ：4列 */
@media (max-width: 1024px) {
  .search .grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* スマホサイズ：必ず3列 */
@media (max-width: 768px) {
  .search .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* サムネイル画像を枠いっぱいに表示 */
.search .grid-item image,
.search .grid-item img {
  display: block;
  width: 100%;
  height: auto;
}


/* listページ */

/* グリッドレイアウト化（PC〜タブレット） */
.list .list-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, 1fr);
}

/* タブレットサイズ：4列 */
@media (max-width: 1024px) {
  .list .list-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* スマホサイズ：必ず3列 */
@media (max-width: 768px) {
  .list .list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* サムネイル画像を枠いっぱいに表示 */
.list .list-grid-item image,
.list .list-grid-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* viewページ全体 */
.view {
  min-height: 100vh;
  padding: 16px 12px;
  background: #0f1115;
  display: flex;
  flex-direction: column;
}

/* 見出し帯 */
.view .header_obi {
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 16px;
  background: linear-gradient(90deg, #ff6b6b, #f3a13b);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
  letter-spacing: 0.08em;
}

/* 中身のカード */
.view .center {
  max-width: 520px;
  margin: 16px auto 0;
  padding: 16px 14px 22px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* スタンプ画像 */
.view .center image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #f5f5f7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 14px;
}

/* 説明文 */
.view .center p {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}

/* 戻るボタン周り */
.view .layoutHorizontal {
  display: flex;
  justify-content: center;
}

/* 共通ボタンの上書き（必要なら） */
.view .buttonCommon {
  display: inline-block;
  min-width: 160px;
  padding: 10px 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.view .buttonCommon:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}