/* ============================================================
   サイト共通スタイル（TOP・feature・price・media）
   ロゴの青 #0095FF を淡くした薄青トーン。クラスは rn- prefix で
   既存の compiled tailwind / top.css と衝突しないよう独立させる。
   ============================================================ */

/* 英字・数字は Inter、和文は Noto Sans JP */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Noto+Sans+JP:wght@400;500;700;900&display=swap");

:root {
  --rn-ink: #111827;
  --rn-muted: #111827;
  --rn-line: #d6e4f0;
  --rn-soft: #f4f9fd;
  --rn-blue: #2ea4ff;
  --rn-deep: #1f77bd;
  --rn-accent: #eaf5ff;
  --rn-yellow: #ffd23e;
}

.rn {
  color: var(--rn-ink);
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  text-align: left;
}

.rn *,
.rn *::before,
.rn *::after {
  box-sizing: border-box;
}

.rn img {
  max-width: 100%;
  height: auto;
}

.rn a {
  color: inherit;
  text-decoration: none;
}

/* 幅・左右パディングともヘッダー/フッターの .container に揃える
   （.container は width:1160px + padding:15px） */
.rn-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 15px;
}

.rn-section {
  padding: 56px 0;
}

/* TOP 下部のお問い合わせセクション。旧 .py-40（上下160px）だと FAQ との間が空きすぎるため
   リニューアルのセクション余白に合わせる */
.rn-contact-section {
  padding: 56px 0;
}

.rn-section--soft {
  background: var(--rn-soft);
}

.rn h1,
.rn h2 {
  text-wrap: balance;
  margin: 0;
}

.rn h3,
.rn p,
.rn dl,
.rn dd,
.rn ul,
.rn figure {
  margin: 0;
}

.rn h3 {
  padding: 0;
  text-align: left;
  font-size: inherit;
  line-height: inherit;
}

.rn-h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.rn-lead {
  margin-top: 22px;
  max-width: 680px;
  font-size: 18px;
  color: var(--rn-muted);
}

.rn-num {
  font-size: 14px;
  font-weight: 900;
  color: var(--rn-blue);
  letter-spacing: 0.1em;
}

/* ---------- ヒーロー (S1: 記事カードが右端で整列するSVG) ---------- */

.rn-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #ffffff 0%, #ffffff 44%, #eef6ff 100%);
}

/* 左側の大きなオーブ */
.rn-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.rn-hero__orb--blue {
  width: 620px;
  height: 620px;
  left: -180px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(2, 149, 255, 0.16), transparent 68%);
}

.rn-hero__orb--yellow {
  width: 300px;
  height: 300px;
  left: 10%;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 210, 62, 0.20), transparent 68%);
}

/* 右端の急角度カット面（大きく） */
.rn-hero__cut {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 56%;
  display: none;
  background: linear-gradient(180deg, rgba(2, 149, 255, 0.14), rgba(2, 149, 255, 0.30));
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 4% 100%);
}

@media (min-width: 1024px) {
  .rn-hero__cut {
    display: block;
  }
}

/* ドゥードルイラスト（パネルの上） */
.rn-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/site/hero-doodle.png");
  background-repeat: no-repeat;
  background-size: auto 88%;
  /* 正方形イラストをヒーロー右側に配置 */
  background-position: calc(50% + 320px) center;
  display: none;
}

.rn-hero__deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .rn-hero::after,
  .rn-hero__deco {
    display: block;
  }
}


.rn-hero__inner {
  position: relative;
  z-index: 2;
  /* 左右は他セクション（.rn-container）と同じ 24px。1024px 以上では 48px に広げる */
  padding: 64px 24px;
}

.rn-hero__body {
  max-width: 600px;
}

.rn-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--rn-deep);
}

.rn-hero__kicker::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #2ea4ff, #8fd0ff);
}

.rn-hero__title {
  margin-bottom: 20px;
  font-size: clamp(31px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.rn-hero__title em {
  font-style: normal;
  color: transparent;
  background-image: linear-gradient(100deg, #1f8ae6 0%, #2ea4ff 55%, #7cc7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.rn-hero__lead {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--rn-muted);
}

.rn-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.rn-cta-primary {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 4px;
  background: linear-gradient(135deg, #3dabff 0%, #1f8ae6 100%);
  color: #fff !important;
  font-weight: 700;
  transition: transform 0.15s, filter 0.15s;
}

.rn-cta-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  color: #fff;
}

.rn-cta-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 4px;
  border: 1px solid var(--rn-line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--rn-deep) !important;
  font-weight: 700;
  transition: background 0.15s;
}

.rn-cta-secondary:hover {
  background: #fff;
}

.rn-hero__catches {
  display: flex;
  gap: 28px;
  margin-top: 32px;
}

.rn-hero__catches img {
  width: clamp(120px, 14vw, 172px);
  height: auto;
}

/* ---------- 課題 / カード共通 ---------- */

.rn-grid {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.rn-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rn-line);
  background: #fff;
  padding: 24px;
}

.rn-card h3 {
  margin: 12px 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.rn-card p {
  font-size: 15px;
  color: var(--rn-muted);
}

.rn-card__img {
  display: block;
  margin: auto auto 0;
  padding-top: 20px;
  max-height: 160px;
  width: auto;
}

/* ---------- 特長・数字 ---------- */

.rn-split {
  display: grid;
  gap: 48px;
  align-items: center;
}

/* ---------- サービスカード ---------- */

.rn-service-card {
  padding: 28px;
}

.rn-service-card--primary {
  border-top: 4px solid var(--rn-blue);
}

.rn-service-card h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  align-self: flex-start;
  background: linear-gradient(transparent 68%, rgba(255, 210, 62, 0.55) 68%);
}

.rn-service-card__img {
  display: block;
  margin: 20px auto 0;
  max-height: 230px;
  width: auto;
}

.rn-service-card dl {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 8px;
  margin-top: 22px;
  font-size: 14.5px;
}

.rn-service-card dt {
  font-weight: 700;
}

.rn-service-card dd {
  color: var(--rn-muted);
}

.rn-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.rn-gallery figure {
  border: 1px solid var(--rn-line);
  border-radius: 4px;
  background: var(--rn-soft);
  padding: 12px;
  text-align: center;
}

.rn-gallery img {
  height: 96px;
  width: auto;
  object-fit: contain;
}

.rn-gallery figcaption {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rn-deep);
}

/* ---------- 比較テーブル ---------- */

.rn-table {
  margin-top: 40px;
  border: 1px solid var(--rn-line);
  /* 狭い画面では列を潰さず横スクロールさせる */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rn-table__row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.35fr;
  /* 3列を維持できる最小幅。これを下回ると .rn-table 側で横スクロールになる */
  min-width: 720px;
  border-top: 1px solid var(--rn-line);
}

.rn-table__row > div + div {
  border-left: 1px solid var(--rn-line);
}

.rn-table__row:first-child {
  border-top: none;
}

.rn-table__row > div {
  padding: 20px;
  font-size: 14.5px;
}

.rn-table__head > div {
  font-weight: 700;
  color: #fff;
  background: var(--rn-deep);
}

/* 比較表は ＠クリッピングが2列目。その列を広くとり、見出しを強調する
   （料金・オプション表には効かせない） */
.rn-table--compare .rn-table__row {
  grid-template-columns: 1.05fr 1.35fr 1fr;
}

.rn-table--compare .rn-table__head > div:nth-child(2) {
  background: var(--rn-blue);
}

.rn-table__label {
  font-weight: 700;
  background: var(--rn-soft);
}

.rn-table__old {
  color: var(--rn-muted);
}

.rn-table__us {
  background: var(--rn-accent);
}

.rn-table__us strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--rn-deep);
}

.rn-note {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--rn-muted);
}

/* ---------- タグ・チップ ---------- */

.rn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.rn-chip {
  border: 1px solid var(--rn-line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rn-deep);
}

/* ---------- 数字ボックス（約2,000） ---------- */

.rn-bignum {
  border: 1px solid var(--rn-line);
  border-top: 4px solid var(--rn-blue);
  background: #fff;
  padding: 32px;
  text-align: center;
}

.rn-bignum strong {
  display: block;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #111827;
}

.rn-bignum span {
  font-size: 13px;
  color: var(--rn-muted);
}

.rn-bignum img {
  display: block;
  margin: 20px auto 0;
  max-height: 210px;
  width: auto;
}

/* ---------- 選ばれる理由 ---------- */

.rn-reason {
  border: 1px solid var(--rn-line);
  border-left: 4px solid var(--rn-blue);
  background: #fff;
  padding: 32px;
}

.rn-reason h3 {
  margin: 10px 0;
  font-size: 22px;
  font-weight: 700;
}

.rn-reason h3 .rn-num {
  margin-right: 12px;
}

.rn-reason p {
  font-size: 15px;
  color: var(--rn-muted);
}

.rn-feature-worries {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

/* ---------- 料金 ---------- */

.rn-price-card {
  border: 1px solid var(--rn-line);
  background: #fff;
  padding: 24px;
}

.rn-price-card h3 {
  font-size: 22px;
  font-weight: 700;
}

.rn-price-card .rn-amount {
  margin: 15px 0;
  font-size: 33px;
  font-weight: 900;
  color: #111827;
}

.rn-price-card .rn-amount small {
  font-size: 12px;
  font-weight: 400;
  color: var(--rn-muted);
}

.rn-price-card ul {
  padding-left: 18px;
  font-size: 14px;
  color: var(--rn-muted);
}

/* ---------- フロー ---------- */

.rn-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 16px;
  margin-top: 40px;
}

.rn-flow > div {
  position: relative;
  border: 1px solid var(--rn-line);
  border-top: 3px solid var(--rn-blue);
  background: #fff;
  padding: 20px;
}

.rn-flow b {
  font-size: 12px;
  font-weight: 700;
  color: var(--rn-blue);
}

.rn-flow h3 {
  margin: 10px 0;
  font-size: 20px;
  font-weight: 700;
}

.rn-flow p {
  font-size: 14.5px;
  color: var(--rn-muted);
}

/* ---------- FAQ ---------- */

.rn-faq {
  margin-top: 40px;
  border-top: 1px solid var(--rn-line);
}

.rn-faq details {
  border-bottom: 1px solid var(--rn-line);
  padding: 20px 0;
}

/* 常時開いた状態で見せるため、開閉操作はさせない（details は構造化データ用に維持） */
.rn-faq summary {
  display: flex;
  align-items: baseline;
  cursor: default;
  pointer-events: none;
  font-weight: 700;
  list-style: none;
}

.rn-faq summary::-webkit-details-marker {
  display: none;
}

.rn-faq summary::before {
  content: "質問";
  flex: none;
  margin-right: 16px;
  color: var(--rn-blue);
}

.rn-faq details p {
  padding: 8px 0 0 38px;
  font-size: 15.5px;
  color: var(--rn-muted);
}

.rn-faq details p::before {
  content: "回答";
  margin-right: 8px;
  font-weight: 700;
  color: var(--rn-blue);
}

/* ---------- 部門 / 声 / その他 ---------- */

.rn-usage {
  background: var(--rn-accent);
  padding: 20px;
}

.rn-usage img {
  display: block;
  margin: 0 auto 12px;
  height: 90px;
  width: auto;
  object-fit: contain;
}

.rn-usage b {
  font-weight: 700;
  color: var(--rn-deep);
}

.rn-usage p {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--rn-muted);
}

/* ご利用状況: 左 2x3 部門カード + 右 円グラフ */
.rn-usage-wrap {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.rn-usage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rn-usage-graph__card {
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid var(--rn-line);
  border-top: 4px solid var(--rn-blue);
  background: #fff;
  padding: 28px 24px 32px;
  text-align: center;
}

.rn-usage-graph__card figcaption {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 700;
}

.rn-usage-graph__card img {
  width: min(360px, 86%);
  height: auto;
}

.rn-voice-org {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rn-deep);
}

.rn-voice-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rn-line);
  background: var(--rn-soft);
  overflow: hidden;
}

.rn-voice-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.rn-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.rn-features > div {
  border: 1px solid var(--rn-line);
  background: #fff;
  padding: 20px;
}

.rn-features strong {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.rn-features span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--rn-muted);
}

.rn-gradient-band {
  background: linear-gradient(115deg, var(--rn-accent), var(--rn-soft));
}

.rn-center-img {
  display: block;
  margin: 0 auto;
  max-height: 280px;
  width: auto;
}

/* ---------- レスポンシブ ---------- */

@media (min-width: 768px) {
  .rn-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rn-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .rn-flow {
    grid-template-columns: repeat(5, 1fr);
  }

  .rn-flow--4 {
    grid-template-columns: repeat(4, 1fr);
  }

}

@media (min-width: 1024px) {
  .rn-hero__inner {
    min-height: 560px;
    padding-left: 48px;
    padding-right: 48px;
  }

  .rn-split--about {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .rn-split--headline {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .rn-split--band {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .rn-split--band-8to4 {
    grid-template-columns: 8fr 4fr;
  }

  .rn-features {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* お客様の声 */
.rn-voice p {
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--rn-ink);
}

.rn-voice-em {
  font-style: normal;
  font-weight: 700;
  border-bottom: none;
  background: linear-gradient(transparent 70%, rgba(255, 210, 62, 0.6) 70%);
}


/* サービス詳細への内部リンク */
.rn-more {
  display: inline-block;
  align-self: flex-start;
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--rn-deep) !important;
  border-bottom: 2px solid var(--rn-blue);
}

.rn-more:hover {
  color: var(--rn-blue) !important;
}

/* クリッピングとは？の図: テキストブロックと高さを揃える */
.rn-about-fig {
  text-align: center;
}

.rn-about-fig img {
  max-height: 300px;
  width: auto;
}


@media (min-width: 1024px) {
  .rn-usage-wrap {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .rn-usage-graph__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    max-width: none;
  }
}

/* ---------- お問い合わせフォーム (#contact, 既存マークアップへのオーバーライド) ---------- */

#contact {
  background: var(--rn-soft);
  border-top: 1px solid var(--rn-line);
}

#contact > .container {
  max-width: 1160px;
  background: #fff;
  border: 1px solid var(--rn-line);
  border-top: 4px solid var(--rn-blue);
  padding: 40px 36px;
  text-align: left;
}

#contact .container p.mb-4.text-2xl {
  font-size: 26px !important;
  color: var(--rn-ink);
}

#contact ul.my-4 {
  background: var(--rn-accent) !important;
  border-left: 4px solid var(--rn-blue);
  border-radius: 4px;
}

#contact ul.my-4 li {
  color: var(--rn-deep) !important;
  font-size: 15px;
}

#contact label {
  color: var(--rn-ink) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

#contact span.bg-gray-400 {
  background: var(--rn-blue) !important;
  color: #fff !important;
  transform: none !important;
  font-size: 11px !important;
  border-radius: 999px !important;
  padding: 2px 10px !important;
  margin-left: 8px;
}

#contact input[type="text"],
#contact textarea {
  border: 1px solid var(--rn-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
  color: var(--rn-ink) !important;
}

#contact input[type="text"]:focus,
#contact textarea:focus {
  border-color: var(--rn-blue) !important;
  box-shadow: 0 0 0 3px rgba(2, 149, 255, 0.15) !important;
  outline: none !important;
}

#contact input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--rn-blue);
}

#contact #submitBtn {
  background: linear-gradient(135deg, #3dabff 0%, #1f8ae6 100%) !important;
  border: none !important;
  border-radius: 4px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  min-height: 56px;
  padding: 0 48px !important;
  transition: transform 0.15s, filter 0.15s;
}

#contact #submitBtn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

#contact .error-message {
  font-size: 13px;
}

#contact a {
  color: var(--rn-deep);
  text-decoration: underline;
}


/* ---------- 黄色の差し色 ---------- */

.rn-underline,
.rn-hero__lead strong,
.rn-lead strong {
  background: linear-gradient(transparent 70%, rgba(255, 210, 62, 0.55) 70%);
}

/* ---------- お問い合わせフォーム微調整 ---------- */

#contact input#name,
#contact input#email,
#contact input#tel {
  width: 100% !important;
}

#contact span.bg-gray-400 {
  background: var(--rn-yellow) !important;
  color: #111827 !important;
}

#contact .flex.flex-wrap > .flex.space-x-1 {
  width: 50%;
  margin-bottom: 10px !important;
}

#contact label[for^="contact_interested"] {
  font-weight: 500 !important;
}

#contact #submitBtn {
  display: block;
  width: min(360px, 100%);
  margin: 8px auto 0;
}

/* ---------- 資料ダウンロードモーダル (#dl-modal) ---------- */

#dl-modal .modal-content {
  border: 1px solid var(--rn-line);
  border-top: 4px solid var(--rn-blue);
  border-radius: 8px;
  box-shadow: none;
}

#dl-modal .modal-header {
  padding: 18px 24px 12px !important;
  border-bottom: 1px solid var(--rn-line) !important;
}

#dl-modal #dl-modal-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--rn-ink) !important;
}

#dl-modal .modal-body {
  padding: 20px 28px !important;
}

#dl-modal .modal-body h5 {
  font-size: 14px;
  color: var(--rn-ink);
  margin-bottom: 12px;
}

/* ラベルと必須バッジを同じ行に収める。form.css は th.must::after を
   position:absolute + right:10px で右端に固定するため、ラベルが長いと
   重なる。ここで static に戻し、幅も 7文字＋バッジが入るよう広げる */
#dl-modal table th {
  font-size: 14px;
  font-weight: 700;
  color: var(--rn-ink);
  text-align: left;
  padding: 10px 16px 10px 0;
  vertical-align: top;
  white-space: nowrap;
  width: 15em;
}

#dl-modal table th.must::after,
#dl-modal table th.matter::after {
  position: static;
  display: inline-block;
  margin-left: 8px;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  border-radius: 999px;
  padding: 1px 10px;
}

#dl-modal table th.must::after {
  content: "必須";
  background: var(--rn-yellow);
  color: #111827;
}

/* 任意は form.css の 'matter'（グレー）を踏襲する */
#dl-modal table th.matter::after {
  content: "任意";
  background: #aaa;
  color: #fff;
}

/* 入力欄がラベル列（グレー背景）の左端に接するため、左に余白を取る */
#dl-modal table td {
  padding: 8px 0 8px 16px;
}

#dl-modal .form-control {
  border: 1px solid var(--rn-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  padding: 10px 12px !important;
  height: auto !important;
  font-size: 15px !important;
  color: var(--rn-ink) !important;
  box-shadow: none !important;
}

#dl-modal .form-control:focus {
  border-color: var(--rn-blue) !important;
  box-shadow: 0 0 0 3px rgba(2, 149, 255, 0.15) !important;
  outline: none !important;
}

#dl-modal .error {
  font-size: 13px;
  color: #d23f3f;
}

#dl-modal #download_btn {
  background: linear-gradient(135deg, #3dabff 0%, #1f8ae6 100%) !important;
  border: none !important;
  border-radius: 4px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 12px 36px !important;
  transition: filter 0.15s;
}

#dl-modal #download_btn:hover {
  filter: brightness(1.1);
}

#dl-modal .modal-footer {
  border-top: 1px solid var(--rn-line) !important;
}

/* ---------- 反社チェック特長ページ (/feature/hansha) ---------- */

body.feature_hansha .breadcrumb > li + li:before {
  color: var(--rn-muted);
}

body.feature_hansha .main-contents {
  padding: 0;
  background: #fff;
}

.rn-feature-hansha__lead {
  max-width: none;
}

.rn-feature-hansha__lead p + p {
  margin-top: 18px;
}

.rn-feature-hansha__lead strong {
  background: linear-gradient(transparent 70%, rgba(255, 210, 62, 0.55) 70%);
}

.rn-feature-hansha__gallery {
  margin-top: 32px;
}

.rn-feature-hansha__services {
  margin-top: 32px;
}

.rn-feature-hansha__services .rn-chip {
  align-self: flex-start;
  margin-bottom: 4px;
}

.rn-feature-hansha__chip-sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--rn-muted);
}

.rn-feature-hansha__badge {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #d23f3f;
}

.rn-feature-hansha__note {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rn-muted);
}

.rn-feature-hansha .rn-service-card .rn-cta-primary {
  align-self: flex-start;
  margin-top: 20px;
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
}

@media (min-width: 768px) {
  .rn-feature-hansha__gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* お悩みカード: 画像→見出し→本文を上詰めで揃える */
.rn-feature-hansha .rn-grid--3 .rn-card {
  align-items: center;
  text-align: center;
}

.rn-feature-hansha .rn-grid--3 .rn-card h3 {
  margin: 0 0 10px;
}

.rn-feature-hansha .rn-grid--3 .rn-card p {
  margin: 0;
}

/* ---------- feature ページ: 交互レイアウトの特長ブロック ---------- */
.rn-split--band { align-items: center; }

h3.rn-feature__h {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.4;
}

.rn-feature__h .rn-num { flex: none; }

.rn-feature__p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--rn-ink);
}

@media (min-width: 1024px) {
  .rn-split--reverse > div { order: 2; }
  .rn-split--reverse > img { order: 1; }
}

/* feature: 特長内の箇条書き */
.rn-feature__list {
  margin: 4px 0 14px;
  padding-left: 20px;
  list-style: disc;
  font-size: 15px;
  line-height: 1.9;
  color: var(--rn-ink);
}
.rn-feature__list li { margin-bottom: 4px; }

.rn-feature-balloon {
  display: inline-block;
  position: relative;
  margin-bottom: 14px;
  padding: 8px 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffd33d 0%, #ffea7a 100%);
  color: var(--rn-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.rn-feature-balloon::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 8px 0 8px;
  border-color: #ffd33d transparent transparent transparent;
}

/* ---------- 料金ページ: オプション一覧の見出しアイコン ---------- */
.rn-table__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rn-table__label img {
  flex: none;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.rn-table__us small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--rn-muted);
}

/* ---------- 料金ページ: 料金例（アコーディオンを使わず常時展開） ---------- */
.rn-examples {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.rn-example {
  border: 1px solid var(--rn-line);
  border-top: 3px solid var(--rn-blue);
  background: #fff;
  padding: 24px 28px 28px;
}

h3.rn-example__title {
  margin: 0 0 20px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--rn-deep);
}

.rn-example__grid {
  display: grid;
  gap: 20px;
}

.rn-example dl {
  display: grid;
  grid-template-columns: 84px 1fr;
  grid-auto-rows: min-content;
  align-content: start;
  gap: 8px 12px;
  font-size: 14px;
}

.rn-example dt {
  font-weight: 700;
  color: var(--rn-ink);
}

.rn-example dd {
  margin: 0;
  color: var(--rn-muted);
}

.rn-example__note {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--rn-muted);
}

.rn-example table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.rn-example table th,
.rn-example table td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--rn-line);
  text-align: left;
  font-weight: 400;
}

.rn-example table thead th {
  color: var(--rn-muted);
  font-weight: 700;
  font-size: 12px;
}

.rn-example table tbody th {
  font-weight: 700;
}

.rn-example table tbody th span {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--rn-muted);
}

.rn-example table tr.total td {
  border-bottom: none;
  border-top: 2px solid var(--rn-deep);
  padding-top: 14px;
  font-weight: 700;
}

.rn-example table tr.total .price {
  margin-left: 8px;
  font-size: 19px;
  font-weight: 900;
  color: #111827;
}

@media (min-width: 768px) {
  .rn-example__grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* ---------- 料金カード ---------- */

.rn-price-card--hero {
  border-top: 4px solid var(--rn-yellow);
}

body.price_web .main-contents,
body.price_paper .main-contents,
body.price_tv .main-contents {
  padding: 0;
}

.rn-price .rn-flow {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .rn-price .rn-flow {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 新聞・雑誌料金ページ：余白最適化 ---------- */

body.price_paper .rn-lead {
  margin-top: 12px;
}

body.price_paper .rn-price-card {
  padding: 18px;
}

body.price_paper .rn-grid--2 {
  align-items: start;
}

body.price_paper .rn-table__row > div {
  padding: 12px 14px;
  font-size: 14px;
}

body.price_paper .rn-examples {
  gap: 14px;
  margin-top: 22px;
}

body.price_paper .rn-example {
  padding: 16px 18px 18px;
}

body.price_paper .rn-example__title {
  margin: 0 0 10px;
}

body.price_paper .rn-example__grid {
  gap: 14px;
}

body.price_paper .rn-example table th,
body.price_paper .rn-example table td {
  padding: 7px 5px;
  font-size: 13px;
}

body.price_paper .rn-flow {
  margin-top: 28px;
  gap: 14px;
}

body.price_paper .rn-flow > div {
  padding: 14px;
}

body.price_paper .rn-flow > div p {
  font-size: 13px;
}

body.price_paper .rn-section--soft .rn-ctas {
  margin-top: 16px;
}

/* ---------- 新聞・雑誌特長ページ：余白・左寄せ最適化 ---------- */
body.feature_price .rn-section--soft .rn-container {
  text-align: left;
}

body.feature_price .main-contents .rn-feature__h {
  text-align: left;
  padding: 0;
  margin: 0 0 16px;
}

body.feature_price .rn-split {
  gap: 8px;
}

body.feature_price .rn-grid {
  gap: 14px;
  margin-top: 24px;
}

body.feature_price .rn-card {
  padding: 16px;
}

body.feature_price .rn-voice p {
  margin-bottom: 12px;
}

body.feature_price .rn-center-img {
  max-height: 400px;
  margin: 0;
}

body.feature_price .rn-section--soft .rn-ctas {
  justify-content: flex-start;
  margin-top: 16px;
}

@media (min-width: 1024px) {
  body.feature_price .rn-split--band {
    grid-template-columns: 400px 1fr;
  }
  body.feature_price .rn-split--band.rn-split--reverse {
    grid-template-columns: 1fr 400px;
  }
  body.feature_price .rn-split--band.rn-split--band-8to4 {
    grid-template-columns: 8fr 4fr;
    gap: 64px;
  }

  body.feature_price .rn-split--band.rn-split--band-8to4.rn-split--reverse {
    grid-template-columns: 4fr 8fr;
    gap: 64px;
  }

  body.feature_price .rn-split--band.rn-split--band-8to4 > div {
    padding-right: 8px;
  }

  body.feature_price .rn-split--band.rn-split--band-8to4.rn-split--reverse > div {
    padding-right: 0;
    padding-left: 8px;
  }

  body.feature_price .rn-split--band.rn-split--band-8to4 > img.rn-center-img {
    max-height: none;
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}

/* ---------- 早朝クリッピング特長ページ：余白・左寄せ最適化 ---------- */
body.early .rn-section--soft .rn-container {
  text-align: left;
}

body.early .main-contents .rn-card h3 {
  text-align: left;
  padding: 0;
  margin: 12px 0;
}

body.early .rn-split--about {
  gap: 8px;
}

body.early .rn-about-fig {
  text-align: left;
}

body.early .rn-grid {
  gap: 14px;
  margin-top: 24px;
}

body.early .rn-card {
  padding: 16px;
}

/* 早朝クリッピングのカードは画像を下寄せにせず、上から自然に並べる */
body.early .rn-card__img {
  margin-top: 0;
}

body.early .rn-feature-worries {
  gap: 14px;
  margin-top: 24px;
}

body.early .rn-flow {
  gap: 14px;
  margin-top: 24px;
}

body.early .rn-flow > div {
  padding: 16px;
}

body.early .rn-section--soft .rn-ctas {
  justify-content: flex-start;
  margin-top: 16px;
}

@media (min-width: 1024px) {
  body.early .rn-split--about {
    grid-template-columns: 400px 1fr;
  }
}

/* ---------- 新聞・雑誌の調査対象メディア ---------- */

.rn-media-paper__figure img {
  max-height: 360px;
}

.rn-media-paper__eyebrow {
  margin: 0 0 10px;
  color: var(--rn-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.rn-media-paper__lead {
  margin: 0;
  color: var(--rn-ink);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.rn-media-paper__lead--sub {
  margin: 28px 0 0;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.rn-media-paper__lead--sub strong {
  background: none;
}

.rn-media-paper__lead strong {
  background: linear-gradient(transparent 68%, rgba(255, 210, 62, 0.62) 68%);
}

/* ---------- WEBの調査対象メディア ---------- */

.rn-media-web__lead {
  margin: 0 0 14px;
  color: var(--rn-ink);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.rn-media-web__lead strong {
  background: linear-gradient(transparent 68%, rgba(255, 210, 62, 0.62) 68%);
}

/* ---------- TVモニタリング・海外クリッピング ---------- */

.rn-price-tv__services {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.rn-price-tv__service {
  display: grid;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--rn-line);
  border-top: 4px solid var(--rn-blue);
  background: #fff;
  padding: 28px;
}

.rn-price-tv__body h3 {
  margin: 4px 0 14px;
  color: var(--rn-ink);
  font-size: clamp(23px, 2.3vw, 31px);
  font-weight: 700;
  line-height: 1.35;
}

.rn-price-tv__body > p:not(.rn-price-tv__note) {
  color: var(--rn-ink);
  font-size: 15.5px;
  line-height: 1.9;
}

.rn-price-tv__note {
  margin-top: 18px !important;
  border-left: 3px solid var(--rn-yellow);
  padding-left: 12px;
  color: var(--rn-ink);
  font-size: 13px;
  line-height: 1.8;
}

.rn-price-tv__service figure {
  margin: 0;
  text-align: center;
}

.rn-price-tv__service figure img {
  display: block;
  max-height: 260px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .rn-price-tv__service {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    min-height: 330px;
    padding: 38px;
  }

  .rn-price-tv__service--reverse .rn-price-tv__body {
    order: 2;
  }

  .rn-price-tv__service--reverse figure {
    order: 1;
  }
}

/* ---------- tooltip (広告換算などの補足説明) ---------- */
.rn-tip {
  position: relative;
  display: inline;
}

.rn-tip__trigger {
  color: var(--rn-deep);
  font-weight: 700;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: pointer;
}

.rn-tip__body {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  width: min(420px, 88vw);
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--rn-line);
  border-top: 3px solid var(--rn-blue);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.14);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--rn-ink);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.rn-tip__body strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--rn-deep);
}

.rn-tip__body ul {
  margin: 6px 0;
  padding-left: 1.2em;
  list-style: disc;
}

.rn-tip__body ul ul {
  list-style: circle;
}

.rn-tip__body li {
  margin: 2px 0;
}

.rn-tip__body small {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  color: #666;
  line-height: 1.7;
}

.rn-tip.is-open .rn-tip__body {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .rn-tip__body {
    width: min(320px, 86vw);
  }
}

/* ---------- Quick Answers (常時展開のQ&A、dlベース) ---------- */

.rn-qa {
  margin-top: 40px;
  border-top: 1px solid var(--rn-line);
}

.rn-qa dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border-bottom: 1px solid var(--rn-line);
  padding: 20px 0;
}

.rn-qa dt {
  font-weight: 700;
  color: var(--rn-ink);
}

.rn-qa dd {
  font-size: 15px;
  line-height: 1.8;
  color: var(--rn-muted);
}

.rn-qa__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

/* ---------- 運営会社概要（2列テーブル、3列の .rn-table には影響しない） ---------- */

.rn-table--corp .rn-table__row {
  grid-template-columns: 1fr 2.4fr;
  min-width: 0;
}

/* ---------- 調査テーマの帯（ヒーロー直下、1行で完結させる） ---------- */

.rn-themebar {
  padding: 26px 0;
  background: var(--rn-soft);
  border-bottom: 1px solid var(--rn-line);
}

.rn-themebar .rn-chips {
  margin-top: 0;
  align-items: center;
  gap: 10px;
  /* 狭い画面では折り返さず横スクロールさせ、1行の見た目を保つ */
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.rn-themebar .rn-chips::-webkit-scrollbar {
  display: none;
}

.rn-themebar .rn-chip {
  flex: 0 0 auto;
  padding: 8px 18px;
  font-size: 14.5px;
  background: #fff;
}

/* ---------- ClipMaster への導線（ロゴ・本文・CTAを1行に） ----------
   別サービスなので、＠クリッピングの青ではなく ClipMaster ロゴの緑
   （#1E9680）で統一する */

.rn-cm-band {
  background: linear-gradient(105deg, #f2fbf9 0%, #e6f6f2 100%);
  border-top: 1px solid #cdeae3;
  border-bottom: 1px solid #cdeae3;
}

.rn-cm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.rn-cm__logo {
  flex: 0 0 auto;
  width: 240px;
  height: auto;
}

.rn-cm__text {
  flex: 1 1 320px;
  font-size: 15.5px;
  color: var(--rn-muted);
}

.rn-cm__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 4px;
  background: linear-gradient(135deg, #26ab92 0%, #1e9680 100%);
  color: #fff !important;
  font-weight: 700;
  transition: transform 0.15s, filter 0.15s;
}

.rn-cm__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  color: #fff;
}

/* ---------- ISO/IEC 27001 認証表記（共通コンポーネント _iso27001_badge.html.twig） ---------- */
/*
 * EQAロゴ使用規定: 最小38px、推奨48px以上。縮小時も38pxを下回らせない。
 * 変形禁止のため object-fit:contain とし、width/height は個別指定で歪ませない。
 */

.rn-iso-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rn-iso-badge__img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  min-width: 38px;
  min-height: 38px;
  object-fit: contain;
}

.rn-iso-badge--onDark {
  background: #fff;
  padding: 8px 12px;
  display: inline-flex;
}

.rn-iso-badge--card,
.rn-iso-badge--full {
  align-items: flex-start;
}

.rn-iso-badge__title {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--rn-ink);
}

.rn-iso-badge__meta {
  margin: 0;
  font-size: 13.5px;
  color: var(--rn-muted);
}

.rn-iso-badge--inline .rn-iso-badge__text {
  font-size: 13.5px;
  color: inherit;
}

/* 会社概要表の「認証取得」行に置く認証表記。表のセル内なので上下に余白を足す */
.com_table .rn-iso-badge,
.rn-table--corp .rn-iso-badge {
  margin-top: 12px;
}
