/* ==========================================
   レスポンシブ基礎リセット
========================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  /* OK */
}

body {
  overflow-x: visible;
  /* ← ここ重要 */
}


img,
video {
  max-width: 100%;
  height: auto;
}

a {
  word-break: break-word;
}

:root {
  /* Brand Colors */
  --primary-color: #005bac;
  --secondary-color: #003a70;
  --accent-color: #00d4ff;
  --accent-soft: #e0f2fe;

  /* UI Colors */
  --bg-color: #f8fafc;
  --bg-soft: #f1f5f9;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --border-color: #e2e8f0;

  /* Button Colors */
  --btn-cta: #005bac;
  --btn-cta-hover: #003a70;
  --btn-trial: #f8db10;
  /* Warmer yellow for visibility */
}

/* ==========================================
   RESET
========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-main);
  line-height: 1.7;
  /* FVの背景を全体に適用 */
  background: radial-gradient(circle at top right, var(--accent-soft) 0%, var(--bg-color) 55%) fixed;
  background-size: cover;
  overflow-x: visible;
}



.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 全体の横幅ルール */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}


/* =====================
   セクション共通レイアウト
===================== */
.section,
.worries,
.solution,
.service,
.merit-section,
.points,
.kc-section,
.voice,
.faq,
.company-section {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* =====================
   セクション共通：下余白（唯一の定義）
===================== */
.section,
.worries,
.solution,
.service,
.merit-section,
.points,
.kc-section,
.voice,
.faq,
.company-section {
  margin-bottom: 80px;
}



/* =========================================================
   HEADER
========================================================= */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 3000;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.header-left img,
.header-logo {
  height: 48px;
  width: auto;
}

/* 中央ナビ */
.global-nav {
  display: flex;
  gap: 28px;
}

.global-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 18px;
  position: relative;
}

/* ホバー時の下線 */
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: 0.3s;
}

.global-nav a:hover::after {
  width: 100%;
}

/* 右上CTA全体：2カラム */
.header-right {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

/* アイコン＋文字ボタン */
.icon-btn {
  display: flex;
  flex-direction: column;
  /* ← 縦並び */
  align-items: center;
  padding: 4px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* アイコン */
.icon-btn img {
  width: 40px;
  height: 40px;
}

/* 申し込み */
.nav-cta.icon-btn {
  background: var(--btn-cta);
  color: var(--white);
}

/* 無料体験 */
.nav-sub.icon-btn {
  background: var(--btn-trial);
  color: var(--text-main);
}

.nav-mail.icon-btn {
  background: var(--bg-soft);
  color: var(--text-main);
}

/* hover */
.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  filter: brightness(1.1);
}



/* メニューボタン */
.menu-btn {
  border: none;
  background: none;
  /* font-size: 22px; */
  cursor: pointer;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: color 0.4s ease;
  color: #333;
}

/* ☰ アイコン */
.menu-icon {
  font-size: 22px;
  line-height: 1;
}

/* 「メニュー」文字 */
.menu-text {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

/* hover */
.menu-btn:hover {
  color: #5cd5f3;
  /* Y!mobile寄せ */
}


/* =========================
   背景オーバーレイ
========================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1500;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   サイドメニュー
========================= */
.side-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: #fff;
  z-index: 2000;
  padding: 24px;
  transition: 0.35s ease;
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.2);
}

.side-menu.is-open {
  right: 0;
}

/* 閉じる */
.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
}

/* CTA */
.side-cta {
  display: block;
  margin: 25px 0 12px;
  padding: 14px;
  text-align: center;
  border-radius: 999px;
  background: #fff01b;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.side-cta.primary {
  background: #66dfa6;
  color: #fff;
}

/* ナビ */
.side-nav a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.25s ease, color 0.25s ease;
  z-index: 4000;
}

.side-nav a:hover {
  color: #5cd5f3;
}




/* =========================================================
   悩みセクション（Modern Redesign）
========================================================= */
.worries-section {
  padding: 100px 0;
  background: radial-gradient(circle at bottom left, var(--accent-soft) 0%, var(--white) 60%);
  overflow: hidden;
  position: relative;
}

.worries-header {
  text-align: center;
  margin-bottom: 60px;
}

.worries-section {
  display: flex;
  justify-content: center;
}

.worries-section .container {
  justify-content: center;
}


.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-color);
  background: var(--accent-soft);
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.section-title-modern {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-title-modern span {
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

.section-title-modern span::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(0, 91, 172, 0.1);
  z-index: -1;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
}

.worries-grid-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.worries-model-wrapper {
  flex: 0 0 35%;
  position: relative;
}


.worry-model-modern {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.worries-grid {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.worry-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 58, 112, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: default;
}

.worry-card:hover {
  transform: translateX(10px);
  box-shadow: 0 20px 50px rgba(0, 58, 112, 0.1);
  border-color: var(--primary-color);
}

.worry-card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  color: var(--primary-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.worry-card:hover .worry-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary-color);
  color: var(--white);
}

.worry-card-icon svg {
  width: 28px;
  height: 28px;
}

.worry-card-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.worry-card-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.worry-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 24px;
  font-weight: 800;
  color: var(--bg-soft);
  font-family: serif;
  opacity: 0.5;
  transition: color 0.3s ease;
}

.worry-card:hover .worry-number {
  color: var(--accent-soft);
  opacity: 1;
}

/* Responsive for Worries */
@media screen and (max-width: 992px) {
  .worries-grid-container {
    flex-direction: column;
    text-align: center;
  }

  .worries-model-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }

  .worries-grid {
    width: 100%;
  }

  .worry-card {
    text-align: left;
  }
}

@media screen and (max-width: 768px) {
  .section-title-modern {
    font-size: 28px;
  }

  .worry-card {
    padding: 20px;
    gap: 16px;
  }

  .worry-card-icon {
    width: 48px;
    height: 48px;
  }

  .worry-card-content h3 {
    font-size: 18px;
  }
}


/* =========================================================
   説得セクション
========================================================= */

.value {
  padding: 80px 20px;
  text-align: center;
}

.value h2 {
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 20px;
  margin-top: 40px;
}

.value h2 span {
  color: var(--primary-color);
}

.value-lead {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 100px;
}

/* ===== タイムライン全体 ===== */
.value-grid {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 40px;
  display: grid;
  gap: 18px;
}

.value-grid::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

/* ===== 各カード ===== */
.value-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px 32px;
  background: linear-gradient(90deg, var(--accent-soft) 0%, var(--white) 100%);
  border-radius: 12px;
  align-items: center;
}

.value-card::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 30%;
  background: linear-gradient(120deg,
      rgba(0, 91, 172, 0.05),
      transparent 70%);
  pointer-events: none;
}

.value-card {
  box-shadow: 0 6px 16px rgba(0, 58, 112, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 58, 112, 0.12);
}


/* アイコン */
.value-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 91, 172, 0.1);
}

/* テキスト */
.value-text {
  text-align: left;
}

.value-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.value-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
}

/* KissWeb補足 */
.value-plus {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  color: #ecae52;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
}

/*こうした気づきをkisswebでは～の装飾*/
.value-bridge {
  margin-top: 48px;
  text-align: center;
}

.value-bridge-text {
  font-size: 24px;
  color: #333;
  font-weight: bold;
  margin-top: 110px;
}

.value-bridge-text strong {
  color: #1A75BB;
}

.value-bridge-arrow {
  font-size: 28px;
  color: #1A75BB;
  animation: arrowMove 1.6s ease-in-out infinite;
}

@keyframes arrowMove {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }

  100% {
    transform: translateY(0);
  }
}


/* =========================================================
   サービス一覧
========================================================= */

#service,
#merit,
#price,
#faq,
#point {
  scroll-margin-top: 100px;
  /*クリックスクロール時ヘッターでの隠れるのを防止*/
}



/* ---- h2 と ボタンを横並び ---- */
.service-header {
  max-width: 1200px;
  margin: 0px auto 40px;
  padding: 0 315px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* h2 の調整 */
.service-header h2 {
  font-size: 32px;
  margin: 0;

}



/* =========================================================
   サービス一覧 グレイアウト
========================================================= */
.service-grid {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 3fr);
  /* ← 5列にして美しく整列 */
  gap: 32px 26px;
  /* ← 上下左右の余白を調整 */
  padding: 20px 0;
}

/* =========================================================
   トライアルバナー（入札検索デモボタン）
========================================================= */
.trial-banner {
  background: radial-gradient(circle at center, rgba(0, 91, 172, 0.05) 0%, transparent 70%);
  text-align: center;
}

.trial-btn-wrapper {
  max-width: 600px;
  margin: 0 auto;

}

.modern-trial-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 35px;
  background: linear-gradient(135deg, #f8db10 0%, #f39800 100%);
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(243, 152, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.modern-trial-btn:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(243, 152, 0, 0.4);
}

.modern-trial-btn:active {
  transform: translateY(-2px) scale(0.98);
}

.btn-label {
  font-size: 14px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.1);
  padding: 2px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.btn-main-text {
  font-size: 20px;
  font-weight: 900;
  line-height: 0.2;
  margin-top: 5px;
}

.btn-icon {
  margin-top: 5%;
  font-size: 20px;
  animation: bounceSideways 1.5s infinite;
}

@keyframes bounceSideways {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

/* Shine Animation */
.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
  transition: all 0.6s;
  animation: shineLoop 4s infinite linear;
}

@keyframes shineLoop {
  0% {
    left: -100%;
  }

  20% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.trial-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .modern-trial-btn {
    padding: 24px 20px;
  }

  .btn-main-text {
    font-size: 24px;
  }

  .btn-label {
    font-size: 12px;
  }
}

.service-item {
  background: #fff;
  border-radius: 12px;
  padding: 17px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform .3s ease, box-shadow .5s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 58, 112, 0.12);
  background-color: var(--accent-soft);
}

.service-item img {
  width: 72px;
  margin-bottom: 16px;
}

.service-item p {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
}

/*デモ体験ボタン*/
.detail-btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  border-radius: 999px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  animation: pulseShadow 2.4s ease-in-out infinite;
  box-shadow: 0 6px 18px rgba(0, 91, 172, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.3s ease;
}

@keyframes pulseShadow {
  0% {
    box-shadow: 0 6px 18px rgba(0, 91, 172, 0.3);
  }

  50% {
    box-shadow: 0 10px 26px rgba(0, 212, 255, 0.45);
  }

  100% {
    box-shadow: 0 6px 18px rgba(0, 91, 172, 0.3);
  }
}

/* hover */
.detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 117, 187, 0.45);
  background: linear-gradient(135deg, #0f4f8a, #1a75bb);
  animation-play-state: paused;
}


.service-item {
  cursor: pointer;
}

/*pタグ*/
.service-note {
  text-align: center;
  margin: 16px 0 24px;
  font-size: 14px;
  color: #555;
  margin: 0;
}



/* =========================================================
   メリット
========================================================= */

/* .merit-section {
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  padding: 40px 20px;
  text-align: center;
}

.merit-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: bold;
}

.merit-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.merit-card {
  background: none;
  box-shadow: none;
  border-left: 6px solid #1A75BB;
  border-radius: 0;
  padding: 16px 20px;
}


.icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  background: #1A75BB;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
} */
/* =========================================================
   強みポイント
========================================================= */
.points-title {
  text-align: center;
  margin-bottom: 48px;
  background-color: #fdfdfd;
  border-radius: 20px;
}

/* タイトル全体 */
.points-main {
  display: flex;
  margin-bottom: 20px;

  justify-content: center;
  align-items: center;
  gap: 14px;
}

/* KissWeb ロゴ本体 */
.points-main .logo {
  display: inline-flex;
  gap: 2px;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* 共通：黒フチ＋影 */
.points-main .logo span {
  display: inline-block;
  text-shadow:
    -2px -2px 0 #646464,
    2px -2px 0 #585858,
    -2px 2px 0 #3d3d3d,
    2px 2px 0 #252525,
    3px 3px 0 rgba(255, 204, 204, 0.25);
}

/* 文字ごとの色（画像寄せ） */
.logo .k {
  color: #e60012;
}

/* 赤 */
.logo .i {
  color: #8e2aa8;
}

/* 紫 */
.logo .s1 {
  color: #7cc242;
}

/* 黄緑 */
.logo .s2 {
  color: #f6a623;
}

/* オレンジ */
.logo .w {
  color: #f6b23e;
}

/* 黄橙 */
.logo .e {
  color: #ffe352;
}

/* 黄色 */
.logo .b {
  color: #2fa4c8;
}

/* 水色 */


/* 強みポイント文字 */
.points-main .text {
  font-size: 32px;
  font-weight: 900;
  color: #333;
}


.section4-title {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
}




/* =========================================================
   強みポイント（Linear Narrative Redesign）
========================================================= */
/* =========================================================
   強みポイント（Linear Narrative Redesign）
========================================================= */
.points-modern-section {
  padding: 120px 0;
  background-color: var(--white);
  /* 洗練されたストライプ柄の背景パターン */
  background-image: repeating-linear-gradient(-45deg,
      var(--white),
      var(--white) 10px,
      #ebf1f7 10px,
      #ebf1f7 11px);
  position: relative;
  /* sectionクラス継承後の微調整 */
  margin-bottom: 0 !important;
}

.points-declaration-wrap {
  text-align: center;
  margin-bottom: 80px;
}

.declaration-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-color);
  background: var(--accent-soft);
  padding: 4px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  letter-spacing: 0.15em;
}

.declaration-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.points-narrative-list {
  max-width: 900px;
  margin: 0 auto 100px;
  display: flex;
  flex-direction: column;
}

.points-item {
  display: flex;
  gap: 40px;
}

.points-item-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  flex-shrink: 0;
}

.step-marker {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 91, 172, 0.2);
}

.vertical-line.dashed {
  width: 0;
  border-left: 2px dashed var(--border-color);
  background: none;
  min-height: 120px;
}

.points-item-main {
  padding-bottom: 80px;
  flex-grow: 1;
}

.points-headline-flex {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.points-icon-box {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.points-icon-box svg {
  width: 24px;
  height: 24px;
}

.points-item-main h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

.benefit-highlight {
  position: relative;
  z-index: 1;
  color: var(--primary-color);
  font-weight: 900;
  padding: 0 4px;
}

.benefit-highlight::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 14px;
  background: rgba(248, 219, 16, 0.3);
  /* マーカー風 */
  z-index: -1;
  border-radius: 2px;
}

.points-item-main p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: 64px;
  /* アイコン分のインデント */
}

/* ラストアイテムの調整 */
.points-item:last-child .points-item-main {
  padding-bottom: 0;
}

.points-bridge-wrap {
  text-align: center;
  margin-bottom: 60px;
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
}

.points-bridge-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.6;
}

.points-bridge-arrow {
  font-size: 32px;
  color: var(--primary-color);
  margin-top: 16px;
  animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(10px);
  }

  60% {
    transform: translateY(5px);
  }
}

/* Responsive */
@media screen and (max-width: 992px) {
  .declaration-title {
    font-size: 32px;
  }
}

@media screen and (max-width: 768px) {
  .points-modern-section {
    padding: 80px 0;
  }

  .declaration-title {
    font-size: 24px;
  }

  .points-item {
    gap: 20px;
  }

  .points-item-side {
    width: 40px;
  }

  .points-item-main h3 {
    font-size: 20px;
  }

  .points-item-main p {
    margin-left: 0;
    font-size: 15px;
  }

  .points-bridge-text {
    font-size: 18px;
  }
}

/*強みsection下のボタン２つ*/
/* CTA全体 */
.point-content {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* 共通ボタン */
.cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 18px 28px;
  min-width: 100px;

  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover */
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

/* 左：無料体験 */
.cta-trial {
  background: #fff01b;
  color: #333;
}

/* 右：入会申込 */
.cta-entry {
  background: #005bac;
  color: #fff;
}

/* バッジ */
.cta-btn .badge {
  background: #fff;
  color: #333;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}

/* メイン文言 */
.cta-btn .main {
  font-size: 20px;
  white-space: nowrap;
}

/* サブ文言 */
.cta-btn .sub {
  font-size: 13px;
  opacity: 0.8;
  margin-left: 6px;
}



/* =========================================================
   お客様の声
========================================================= */
.voice.section {
  padding: 80px 20px;
}

.voice h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
}

.voice-wrap {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.voice-item {
  width: 300px;
  background: #fff;
  padding: 26px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.voice-item img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 16px;
}


/* =========================================================
   料金シミュレーター（完全版）
   方針：
   ・横幅そのまま
   ・高さだけ低く
   ・チェックマークなし
   ・クリック＝色変化
========================================================= */

/* ===== セクション全体 ===== */
.section.simulator {
  background:
    linear-gradient(160deg, #fffcf0 0%, #fef9e7 100%);
  padding: 30px 30px;
  border-radius: 20px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  color: #1a202c;
  /* ダークネイビーに変更 */
  border: 1px solid #f2edd7;
  position: relative;
  overflow: hidden;
}

/* 控えめなグリッド (ダークな線に変更) */
.section.simulator::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.section.simulator h2 {
  font-size: 26px;
  color: #0f172a;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.section.simulator>div>p {
  color: #64748b;
  text-align: center;
  margin-bottom: 24px;
  font-size: 13px;
}

.section.simulator h3.sim-step-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 8px;
  font-weight: 700;
}

/* ===== パネル（ライト背景用調整） ===== */
.section.simulator .panel {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* ===== カード配置 ===== */
.section.simulator .plan-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.section.simulator label.card {
  position: relative;
  width: 160px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
}

.section.simulator label.card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.section.simulator label.card:has(input[type="radio"]:checked) {
  background: #f8db10;
  border-color: #f8db10;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(248, 219, 16, 0.3);
}

.section.simulator label.card h3 {
  font-size: 12px;
  margin: 0;
  color: #475569;
}

.section.simulator label.card:has(input[type="radio"]:checked) h3 {
  color: #313131;
  font-weight: 700;
}

.section.simulator label.card .price {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.section.simulator label.card:has(input[type="radio"]:checked) .price {
  color: #000;
}

/* =========================================================
   合計金額ボックス
========================================================= */
.section.simulator .total-box {
  background: #f3d423;
  /* 逆に合計はダークにして引き締める */
  color: #fff;
  width: 220px;
  margin: 16px auto 0;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.section.simulator .total-box p {
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 0;
  color: rgba(27, 27, 27, 0.6);
}

.section.simulator #total {
  font-size: 30px;
  font-weight: 900;
  color: #383838;
  line-height: 1;
}

/* =========================================================
   合計内訳ボタン
========================================================= */
.price-summary {
  max-width: 600px;
  margin: 40px auto 0;
  text-align: center;
}

.price-detail-trigger {
  margin-bottom: 16px;
}

.price-detail-trigger button {
  background: #1a75bb;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.price-detail-trigger button:active {
  transform: scale(0.96);
}




/* =====================
   内訳詳細
===================== */
.price-detail {
  display: none;
  text-align: left;
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: all .35s ease;
  color: #1a1a1a;
  border: 1px solid #eee;
}

.price-detail.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* タイトル */
.price-detail h3 {
  color: #003a70;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 800;
  border-bottom: 2px solid #f8db10;
  display: inline-block;
  padding-bottom: 4px;
}

/* 各ブロック */
.detail-block {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #ddd;
}

.detail-block:last-child {
  border-bottom: none;
}

.detail-block h4 {
  font-size: 15px;
  color: #003a70;
  font-weight: 800;
  margin-bottom: 8px;
}

.discount {
  margin-top: 8px;
  font-weight: bold;
  color: #e85c00;
  font-size: 14px;
}


/* ポップアニメーション */
@keyframes softPop {
  0% {
    transform: translateX(40px) scale(0.96);
  }

  60% {
    transform: translateX(-4px) scale(1.01);
  }

  100% {
    transform: translateX(0) scale(1);
  }
}

.section.simulator #total {
  transition: transform 0.25s ease;
}

.section.simulator #total.is-pop {
  transform: scale(1.08);
}

/* 合計BOX内の特典テキスト */
.bonus-text {
  margin: 10px auto 6px;
  padding: 8px 16px;
  width: fit-content;

  background: linear-gradient(135deg, #fff3b0, #ffe27a);
  color: #ff5d5d;
  font-weight: 700;
  font-size: 11px;

  border-radius: 999px;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  display: none;
  animation: bonusPop 0.45s ease;
}

@keyframes bonusPop {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }

  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* ふわっと出す */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =========================================================
   FAQ
========================================================= */
#faq {
  margin-bottom: 150px;
}

#faq h2 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  margin-top: 80px;
}

.faq-item {
  max-width: 700px;
  margin: 0 auto 24px;
  background: var(--white);
  border-left: 6px solid var(--primary-color);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 58, 112, 0.05);
  overflow: hidden;
}

/* 質問 */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition:
    background-color 0.45s ease,
    color 0.45s ease;
}

/* 回答 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 22px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
}

/* 開いた状態 */
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

.faq-item.active .icon {
  transform: rotate(45deg);
  /* ＋ → × */
}

.faq-question:hover {
  background: var(--accent-soft);
}



/* =========================================================
   KCデジタル紹介（Editorial Newspaper Redesign）
========================================================= */
.editorial-section {
  padding: 120px 0;
  background-color: #fdfcf8;
  /* 生成り（Kinari）*/
  background-image:
    radial-gradient(#e5e0d4 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  /* 微細な新聞紙の質感 */
  border-top: 4px double #d1ccc0;
  border-bottom: 4px double #d1ccc0;
}

.editorial-masthead {
  text-align: center;
  margin-bottom: 60px;
  border-bottom: 1px solid #d1ccc0;
  padding-bottom: 30px;
}

.masthead-upper {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.editorial-title {
  font-family: serif;
  /* 報道系の格式高さを表現 */
  font-size: 48px;
  font-weight: 900;
  color: #1a1a1a;
  /* 墨黒 */
  line-height: 1.2;
}

.editorial-title .sub-title {
  display: block;
  font-size: 24px;
  font-weight: 500;
  margin-top: 8px;
  color: var(--primary-color);
}

.editorial-main {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.editorial-article {
  padding-right: 20px;
  border-right: 1px solid #d1ccc0;
  /* 組み線 */
}

.article-lead {
  font-family: serif;
  font-size: 28px;
  line-height: 1.5;
  color: #1a1a1a;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 4px solid var(--primary-color);
}

.article-body p {
  font-size: 17px;
  line-height: 2;
  color: #444;
  margin-bottom: 24px;
  text-align: justify;
}

.article-promo {
  background: #fff;
  border: 1px solid #d1ccc0;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 40px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
}

.article-promo .label {
  background: #e74a3b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.article-promo p {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}

.editorial-visual {
  position: sticky;
  top: 100px;
}

.visual-frame {
  background: #fff;
  padding: 16px;
  border: 1px solid #d1ccc0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: rotate(1deg);
  /* 紙っぽさを表現 */
}

.visual-target {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  cursor: pointer;
  transition: opacity 0.3s;
}

.visual-target:hover {
  opacity: 0.8;
}

.visual-caption {
  margin-top: 12px;
  text-align: center;
}

.visual-caption span {
  font-size: 13px;
  font-weight: 800;
  color: #666;
  display: block;
}

.visual-caption p {
  font-size: 11px;
  color: #999;
  margin: 4px 0 0;
}

.editorial-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #d1ccc0;
}

.editorial-sample-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1a1a;
  color: #fff;
  padding: 20px 48px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
}

.editorial-sample-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ====== モーダル（画像拡大） ====== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.75);
}

/* 拡大画像 */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  animation: zoomIn 0.3s ease;
  border-radius: 8px;
}

/* KCデジタル画像（ホバーアニメーション＋クリックカーソル） */
.kc-img img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  /* ← クリックできるポインタに */
}

.kc-img img:hover {
  transform: scale(1.05);
  /* ← ふわっと拡大 */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  /* ← 影をつけて強調 */
}


/* ✕ボタン */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.btn-sample {
  display: block;
  width: 330px;
  margin: 20px auto;
  padding: 14px 28px;
  text-align: center;
  background: #3aa1ef;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.3s ease;
}


.btn-sample:hover {
  background: #0f4f8a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 117, 187, 0.35);
}


/* アニメーション */
@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}



/* ============================
   会社情報
============================ */
.company-section {
  max-width: 1100px;
  margin: 120px auto;
  padding: 0 20px;
}

.company-inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.company-map img {
  width: 360px;
  border-radius: 6px;
}

.company-info p {
  font-size: 20px;
  margin-bottom: 18px;
}

.company-info span {
  font-weight: bold;
  display: inline-block;
  width: 120px;
}



/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 30px 20px;
  text-align: center;
  margin-top: 80px;
}


/* =========================
   トップへ戻る固定ボタン
========================= */
.to-top-btn {
  position: fixed;
  right: 60px;
  bottom: 20px;

  width: 80px;
  height: 80px;

  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);

  font-size: 32px;
  font-weight: bold;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 2000;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s;
}

/* hover */
.to-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.to-top-btn {
  opacity: 0;
  pointer-events: none;
}



/* =========================
   チャット起動アイコン🤖
========================= */

/* 起動アイコン */
#chatbot-launch {
  position: fixed;
  bottom: 20px;
  left: 40px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ラベル（サポート） */
.chatbot-label {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 6px;
  background: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#chatbot-icon {
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  position: fixed;
  bottom: 20px;
  left: 48px;
  z-index: 999;

  /* 通常の青影 */
  box-shadow: 0 8px 24px rgba(0, 91, 172, 0.4);

  /* 疑似要素用 */
  overflow: visible;
}

/* 🌈 レインボー影 */
#chatbot-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  /* 光の太さ */
  border-radius: 50%;
  background: linear-gradient(0deg,
      red,
      orange,
      yellow,
      lime,
      cyan,
      blue,
      violet,
      red);
  filter: blur(14px);
  opacity: 0.2;
  z-index: -1;

  animation: rainbow-spin 3s linear infinite;
  animation-play-state: running;
}

/* ホバーで発動 */
#chatbot-icon:hover::before {
  opacity: 0.5;
  animation-play-state: running;
  transition: 0.3s;
}

/* 回転アニメーション */
@keyframes rainbow-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* 🤖 */
.icon-emoji {
  font-size: 40px;
  line-height: 1;
}

/* サポート */
.icon-text {
  font-size: 16px;
  margin-top: 6px;
  letter-spacing: 0.05em;
}



#chatbot-wrapper {
  width: 420px;
  position: fixed;
  bottom: 160px;
  left: 16px;
  z-index: 998;

}

/* =========================
   チャット開閉アニメーション
========================= */

/* 初期：閉じている状態 */
#chatbot-wrapper {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(.34, 1.56, .64, 1);
}

/* 開いている状態 */
#chatbot-wrapper.is-open {
  opacity: 1;
  transform: translateY(16px) scale(0.98);
  pointer-events: auto;
}


/* ヘッダー */
.chat-header {
  background: var(--primary-color);
  color: var(--white);
  font-size: 20px;
  padding: 12px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
}

.close-btn {
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  /* ← 余計な上下余白を消す */
  display: flex;
  align-items: center;
  /* ← 縦中央 */
  justify-content: center;
  /* ← 横中央 */
  height: 24px;
  /* ← 高さを明示 */
  width: 24px;
  /* ← 押しやすさ */
}


/* 本体 */
.chat-body {
  height: 450px;
  /*ヘッダーの高さまで高さを確保*/
  padding: 12px;
  overflow-y: auto;
  background: #f4f8fd;
  border: 2px solid rgba(26, 117, 187, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-radius: 8px;
}

/* =========================
   チャット選択ボタン
========================= */
.chat-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2列 */
  gap: 5px;
  padding: 4px;
  background: #ffffff;
  border-top: 1px solid #d6e4f2;
  border: 2px solid rgba(26, 117, 187, 0.15);
  border-radius: 8px;
}

/* ホバー */
.chat-buttons button:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 91, 172, 0.3);
  transition: 0.3s;
}

/* 押した瞬間 */
.chat-buttons button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(26, 117, 187, 0.2);
}

/* =====================
   自由検索（チャット用）
===================== */
.free-search {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.free-search input {
  flex: 1;
  padding: 6px 8px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
}

.free-search input:focus {
  border-color: #005bac;
  box-shadow: 0 0 0 1px rgba(0, 91, 172, 0.2);
}

.free-search button {
  background: #5aaff0;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.free-search button:hover {
  background: #004a8f;
  transition: 0.3s;
}

.free-search button:active {
  transform: scale(0.96);
}



/* 初回だけ光らせる */
#chatbot-icon.flash-once::before {
  opacity: 0.8;
  animation-play-state: running;
}

/* 光り終わったら自然に消える */
@keyframes fadeOutGlow {
  from {
    opacity: 0.8;
  }

  to {
    opacity: 0;
  }
}

/* ======================================
   PC / タブレット
====================================== */
.fv-sp {
  display: none;
}

/* =====================
   サービス用モーダル
===================== */
.service-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

.service-modal.is-open {
  display: flex;
}

.service-modal-content {
  background: #fff;
  max-width: 720px;
  width: 90%;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  animation: modalPop 0.35s ease;
}

.service-modal-content img {
  width: 100%;
  margin: 20px 0;
  border-radius: 10px;
}

.service-modal-content h3 {
  font-size: 24px;
  color: #1a75bb;
}

.service-modal-content p {
  font-size: 15px;
  line-height: 1.8;
}

.service-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*区切り線*/
.section-divider {
  width: 100%;
  max-width: 600px;
  height: 2px;
  margin: 20px auto 80px;

  background: linear-gradient(to right,
      transparent,
      rgba(26, 117, 187, 0.25),
      transparent);
}



/* =====================
   FV Base
===================== */
.fv-section {
  position: relative;
  height: 70vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: radial-gradient(circle at top right, #e0f2fe 0%, #f8fafc 55%); */
  background: transparent;
  overflow: hidden;
}

.bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.12;
  animation: float 18s infinite linear;
}

.bg-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 91, 172, .15), transparent);
  animation: slide 14s infinite linear;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(12px, -18px);
  }
}

@keyframes slide {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

/* =====================
   FV Branding (Animated KissWeb)
===================== */
.fv-brand-bg {
  position: absolute;
  top: 45%;
  /* やや上に */
  left: 45%;
  /* 右側に寄せ、全体のバランスを調整 */
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  gap: 0.01em;
  /* 文字間を極限まで詰める */
  opacity: 0.12;
  /* 絶妙な透け感 */
}

.fv-brand-bg .letter {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(60px, 8vw, 140px);
  /* 少しだけさらにコンパクトに */
  font-weight: 900;
  color: #005bac;
  line-height: 1;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation:
    letterEntrance 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
    brandFloat 8s ease-in-out infinite alternate;
}

/* 文字ごとのディレイ */
.fv-brand-bg .letter:nth-child(1) {
  animation-delay: 0.1s, 0s;
}

.fv-brand-bg .letter:nth-child(2) {
  animation-delay: 0.15s, 0.5s;
}

.fv-brand-bg .letter:nth-child(3) {
  animation-delay: 0.2s, 1.0s;
}

.fv-brand-bg .letter:nth-child(4) {
  animation-delay: 0.25s, 1.5s;
}

.fv-brand-bg .letter:nth-child(5) {
  animation-delay: 0.3s, 2.0s;
}

.fv-brand-bg .letter:nth-child(6) {
  animation-delay: 0.35s, 2.5s;
}

.fv-brand-bg .letter:nth-child(7) {
  animation-delay: 0.4s, 3.0s;
}

/* 光のなびき（Shimmer）*/
.fv-brand-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      transparent 40%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 60%);
  background-size: 200% 100%;
  mix-blend-mode: overlay;
  animation: brandingShimmer 4s infinite linear;
  z-index: 2;
}

@keyframes letterEntrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes brandFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-20px) rotate(1deg);
  }
}

@keyframes brandingShimmer {
  from {
    background-position: 150% 0;
  }

  to {
    background-position: -50% 0;
  }
}

/* モバイル対応：重なりすぎないよう調整 */
@media screen and (max-width: 768px) {
  .fv-brand-bg {
    opacity: 0.08;
    top: 40%;
  }

  .fv-brand-bg .letter {
    font-size: 80px;
  }
}

.container {
  max-width: 1440px;
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.fv-content {
  flex: 1;
}

.fv-content>* {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .8s forwards;
}

.fv-content .tagline {
  animation-delay: 0.4s;
}

.fv-content h1 {
  animation-delay: 0.6s;
}

.fv-content .sub-copy {
  animation-delay: 0.8s;
}

.fv-content .cta-group {
  animation-delay: 1.0s;
}

.fv-visual {
  flex: 1.2;
  position: relative;
  animation: fadeRight 1s forwards .2s;
  opacity: 0;
  transform: translateX(40px);
  /* 右側に少しずらす */
}

.mockup-container {
  max-width: 600px;
  filter: drop-shadow(0 30px 60px rgba(0, 58, 112, .15));
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }

  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  from {
    opacity: 0;
    transform: translateX(40px) scale(.95);
  }
}

/* =====================
   Typography
===================== */
.tagline {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(0, 91, 172, .06);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--secondary-color);
  margin-bottom: 24px;
}

h1 .accent {
  color: var(--primary-color);
}

.sub-copy {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  max-width: 520px;
  margin-bottom: 40px;
}

/* =====================
   CTA
===================== */
.cta-group {
  display: flex;
  gap: 20px;
}

.btn-primary,
.btn-secondary {
  padding: 18px 36px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: .35s ease;
}

.btn-primary {
  background: #f8d510;
  color: #222222;
  box-shadow: 0 12px 28px rgba(0, 91, 172, .25);
  position: relative;
  overflow: hidden;
  font-weight: bold;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transform: rotate(25deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  to {
    left: 150%;
  }
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #f8f410;
}

.btn-secondary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(0, 91, 172, .08);
}

/* =====================
   Visual
===================== */
.mockup-container {
  max-width: 600px;
  filter: drop-shadow(0 30px 60px rgba(0, 58, 112, .15));
}

.mockup-container svg circle {
  animation: pulse 2s infinite ease-in-out;
  transform-origin: center;
}

.mockup-container svg path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 3s forwards 1.2s;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.abstract-shape {
  position: absolute;
  inset: -10%;
  background: linear-gradient(135deg, #005bac, #00d4ff);
  border-radius: 40% 60% 70% 30% / 40% 30% 70% 60%;
  opacity: .12;
  filter: blur(50px);
  animation: morph 8s infinite alternate;
  z-index: -1;
  transition: transform 0.2s ease-out;
}

@keyframes morph {
  to {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* =====================
   Scroll
===================== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0;
  animation: fadeIn 1s forwards 2s;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  margin-top: 8px;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100%);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* =====================
   Mobile
===================== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }

  h1 {
    font-size: 32px;
  }

  .cta-group {
    justify-content: center;
  }

  .fv-visual {
    order: -1;
    margin-bottom: 40px;
  }
}






/* ==========================================
   📱 スマホ対応 完全版（768px以下）
========================================== */
@media (max-width: 768px) {

  /* ======================================
     基本リセット
  ====================================== */
  html,
  body {
    overflow-x: hidden;
    padding: 0px 5px;
  }

  body {
    font-size: 14px;
    line-height: 1.8;
  }

  section,
  .section {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  a,
  button {
    min-height: 44px;
    /* タップしやすさ */
  }

  section:not(.fv),
  .section-0,
  .worries,
  .solution,
  .service,
  .trial-banner,
  .merit-section,
  .points,
  .voice,
  .faq {
    max-width: 100%;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 30px;
    margin-bottom: 48px;
    border-radius: 0;
  }



  /* ======================================
     HEADER
  ====================================== */
  .header-inner {
    padding: 8px 12px;
  }

  .header-logo {
    height: 28px;
  }

  /* PC用CTA非表示 */
  .header-cta-group {
    display: none;
  }


  /* ======================================
     FV 切り替え（決定版）
  ====================================== */

  /* PC用FVは完全に非表示 */
  .fv {
    display: none;
  }

  /* スマホ専用FV表示 */
  .fv-sp {
    display: block;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    padding: 0;
  }

  .fv-sp img {
    width: 100%;
    height: auto;
    display: block;
  }

  .fv-sp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
  }

  .fv-sp-btn {
    padding: 14px 0;
    font-size: 15px;
    border-radius: 999px;
    text-align: center;
    font-weight: bold;
  }

  .fv-sp-btn.primary {
    background: #72f091;
    color: #fff;
  }

  .fv-sp-btn:not(.primary) {
    background: #f7c60b;
    color: #333;
  }

  /* 中央ナビを消す */
  .global-nav {
    display: none;
  }

  /* 右側CTA（申込・無料体験）を消す */
  .header-cta-group a {
    display: none;
  }

  /* ☰ メニューボタンだけ表示 */
  .menu-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
  }

  /* ヘッダー余白調整 */
  .header-inner {
    padding: 10px 14px;
  }

}

@media (max-width: 768px) {

  section,
  .section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  h2 {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 1.4;
  }

  h3 {
    font-size: 18px;
  }

  p {
    margin-bottom: 16px;
  }

  .sim-step-title {
    font-size: 18px;
  }


  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 3000;
    background: #edf6fc;
  }

  /*ヘッダー固定での被り防止*/
  .side-menu {
    top: 64px;
    /* ← ヘッダーの下から */
    height: calc(100% - 64px);
    /* ← 高さも調整 */
    z-index: 4000;
  }

  /* お問い合わせだけボタン風 */
  .side-nav .side-contact {
    margin-top: 16px;
    background: linear-gradient(135deg, #1a75bb, #5aaff0);
    color: #fff;
    font-weight: 700;
    text-align: center;
    border-radius: 999px;
    padding: 14px 16px;
    box-shadow: 0 6px 16px rgba(26, 117, 187, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  /* hover */
  .side-nav .side-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(26, 117, 187, 0.45);
    color: #fff;
  }



  body {
    padding-top: 60px;
    /* ← ヘッダー高さ分 */
  }

  .menu-btn {
    position: fixed;
    top: 14px;
    /* ロゴと高さを合わせる */
    right: 14px;

    display: flex;
    flex-direction: column;
    align-items: center;

    z-index: 4000;
    /* headerより上 */
    background: #fff;
    padding: 6px 8px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }


  /* 悩みセクション */
  .section-0 {
    position: relative;
    z-index: 5;
  }

  .section-0 h2 {
    color: #333;
    opacity: 1;
    font-size: 15px;
    margin-top: 20px;
  }

  /* 全体を縦構成に */
  .worries {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 80%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* モデル画像 */
  .worry-model {
    position: absolute;
    width: 140px;
    max-width: 60%;
    height: auto;
    left: 10px;
  }

  /* 悩みリスト */
  .worries-flex {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-right: -135px;
  }

  /* 各悩みカード */
  .worry {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }

  .worry p {
    font-size: 10px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
  }

  /*説得セクション*/
  .value {
    padding: 40px 16px;
    margin-bottom: 10px;
  }

  .value-inner {
    max-width: 100%;
    margin: 0 auto;
  }

  /* =====================
     見出し
  ===================== */
  .value h2 {
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0px;
  }

  .value h2 span {
    display: inline;
    font-size: 20px;
    font-weight: 700;
    padding: 0 4px;

    background: linear-gradient(transparent 60%,
        #fff59d 60%);
  }


  /* =====================
     リード文
  ===================== */
  .value-lead {
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 28px;
  }

  /* =====================
     グリッド → 縦並び
  ===================== */
  .value-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* =====================
     カード
  ===================== */
  .value-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }

  .value-icon {
    font-size: 28px;
    flex-shrink: 0;
  }

  .value-text h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .value-text p {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .value-plus {
    font-size: 12px;
    color: #555;
  }

  /* =====================
     つなぎコピー
  ===================== */
  .value-bridge {
    margin-top: 32px;
    text-align: center;
  }

  .value-bridge-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
    margin-top: 40px;
  }

  .value-bridge-arrow {
    font-size: 22px;
  }




  /*サービス*/
  /* セクション全体 */
  .service {
    padding: 32px 12px;
  }

  /*縦書きを強制的に直しています*/
  .service-header,
  .service-header h2,
  .service-header .detail-btn {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    width: auto;
    max-width: 100%;
  }

  /* ヘッダー */
  .service-header {
    padding: 0;
    /* ← 200px を無効化 */
    max-width: 100%;
    margin-bottom: 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }


  .service-header h2 {
    font-size: 32px;
    text-align: center;
  }

  .detail-btn {
    font-size: 14px;
    padding: 10px 24px;
  }

  /* 補足文 */
  .service-note {
    text-align: center;
    font-size: 13px;
    color: #555;
    margin-top: 30px;
  }

  /* =====================
     グリッド（2カラム固定）
  ===================== */
  .service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 0;
  }

  /* =====================
     サービスカード
  ===================== */
  .service-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 8px 12px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
  }

  .service-item img {
    width: 56px;
    height: auto;
    margin-bottom: 8px;
  }

  .service-item p {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
  }

  /* タップ時の軽い反応 */
  .service-item:active {
    transform: scale(0.97);
  }

  .trial-banner {
    width: 80%;
  }

  /*クリックして使用してみよう文のマージン除去*/
  .blink-text {
    margin: 0;
    text-align: center;
  }

  /*CTAボタン*/
  .point-content {
    position: sticky;
    bottom: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    z-index: 2000;
  }



  /* =====================
     サンプルボタン
  ===================== */
  .btn-sample {
    display: block;
    width: 50%;
    margin: 24px auto 0;
    padding: 14px 0;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    border-radius: 999px;
  }

  /*料金*/
  .plan-item {
    margin-bottom: 24px;
  }

  .plan-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /*Q&A*/
  .faq-question {
    font-size: 16px;
    padding: 14px;
  }

  .faq-answer p {
    font-size: 14px;
  }


  /* =====================
     強みポイント
  ===================== */
  /* =====================
     セクション全体
  ===================== */
  .points.section {
    background:
      repeating-linear-gradient(45deg,
        rgba(26, 117, 187, 0.05),
        rgba(26, 117, 187, 0.05) 6px,
        transparent 6px,
        transparent 12px),
      #feffef;
    padding: 32px 16px 40px;
    background-attachment: fixed;
  }




  .points-title {
    background: none;
    box-shadow: none;
    margin-bottom: 20px;
  }

  .points-main .logo {
    font-size: 32px;
  }

  .points-main .text {
    font-size: 20px;
    color: #1a75bb;
  }

  .point {
    background: #ffe27a;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
    border: 1px solid #e3e8ef;
    box-shadow: none;
  }

  .point h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a75bb;
    margin-bottom: 6px;
  }

  .point p {
    font-size: 13px;
    color: #555;
  }

  .feature-img {
    border-radius: 16px;
    padding: 16px;
    box-shadow: none;
  }

  .feature-img {
    text-align: center;
    /* 中央寄せ（画像＋テキスト） */
    margin: 0;
    max-width: 600px;
    /* 全体の横幅制御 */
  }

  /* =====================
     CTAエリア（最重要）
  ===================== */

  .cta-btn {
    flex-direction: column;
    /* ← 縦並び */
    align-items: center;
    text-align: center;
    gap: 1px;
    /* 行間 */
    padding: 1px 20px;
  }

  .cta-btn .badge {
    font-size: 8px;
    padding: 0px 10px;
  }

  .cta-btn .main {
    font-size: 10px;
    line-height: 1.3;
    white-space: normal;
    /* 折り返し許可 */
  }

  .cta-btn .sub {
    font-size: 8px;
    opacity: 0.8;
  }


  /* =====================
     KCデジタル（Editorial Redesign）
  ===================== */
  .editorial-section {
    padding: 80px 0;
  }

  .editorial-masthead {
    margin-bottom: 40px;
  }

  .editorial-title {
    font-size: 32px;
  }

  .editorial-title .sub-title {
    font-size: 18px;
  }

  .editorial-main {
    grid-template-columns: 1fr;
    /* 縦並び */
    gap: 40px;
  }

  .editorial-article {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #d1ccc0;
    padding-bottom: 40px;
  }

  .article-lead {
    font-size: 22px;
    padding-left: 12px;
  }

  .article-body p {
    font-size: 15px;
    line-height: 1.8;
  }

  .editorial-visual {
    position: static;
  }

  .visual-frame {
    transform: none;
    /* スマホでは真っ直ぐにしてスペース確保 */
    max-width: 400px;
    margin: 0 auto;
  }

  .editorial-sample-btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    justify-content: center;
  }

  /* =====================
     料金シュミレーター
  ===================== */

  /* ▼ 共通：カード幅はGrid/Flexに任せる */
  .section.simulator label.card {
    width: auto;
    display: flex;
    flex-direction: column;
    /* ← 縦並びにする */
    align-items: center;
    /* 中央揃え（不要なら削除） */
    gap: 6px;
    /* 要素間の余白 */
    padding: 3px;
    text-align: center;
    align-items: center;
  }

  /* =====================
     料金シミュレーター（Mobile）
  ===================== */
  .section.simulator {
    padding: 30px 16px;
  }

  .section.simulator h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .section.simulator .panel {
    padding: 12px;
    margin-bottom: 16px;
  }

  .section.simulator .plan-cards {
    gap: 8px;
  }

  .section.simulator label.card {
    width: calc(50% - 4px);
    padding: 10px 4px;
  }

  .section.simulator .total-box {
    width: 200px;
    padding: 10px;
  }

  .section.simulator #total {
    font-size: 26px;
  }

  .section.simulator .total-box {
    width: 240px;
    padding: 16px 8px;
  }

  .section.simulator #total {
    font-size: 32px;
  }

  .section.simulator .bonus-text {
    font-size: 11px;
    padding: 4px 10px;
  }



  /* =========================
    Q&A
  ========================= */
  #faq {
    margin-bottom: 20px;
  }


  /* =========================
    会社概要
  ========================= */
  /* 全体を縦並びに */
  .company-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* 地図 */
  .company-map iframe {
    width: 100%;
    height: 240px;
    border-radius: 12px;
  }

  /* 会社情報 */
  .company-info p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
  }

  /* ラベル（社名・住所など） */
  .company-info span {
    display: block;
    /* ← 縦に分ける */
    font-weight: bold;
    margin-bottom: 2px;
  }

  /* =========================
    フッター
  ========================= */

  .footer {
    padding: 20px 12px;
  }

  .footer p {
    font-size: 12px;
    line-height: 1.8;
    word-break: break-word;
  }


  /* トップへ戻るボタン */
  .to-top-btn {
    display: none !important;
  }

}

/* =========================
   Loading Screen (Deep & Iconic)
========================= */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #004a8f 0%, #001f3f 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  /* Premium Exit Transition */
  transition:
    transform 1.1s cubic-bezier(0.7, 0, 0.3, 1),
    opacity 0.8s ease;
}

/* Background Pattern Layer */
.loading-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg,
      rgba(0, 212, 255, 0.03) 0,
      rgba(0, 212, 255, 0.03) 1px,
      transparent 1px,
      transparent 16px);
  pointer-events: none;
}

#loading.loaded {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.loading-wrapper {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo Floating Animation */
.loading-logo-box {
  margin-bottom: 40px;
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 91, 172, 0.3));
}

.loading-logo-img {
  width: 320px;
  height: auto;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.2s;
  filter: brightness(0) invert(1);
  /* ロゴを白くする */
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Data Linking Visualization */
.loading-visual {
  position: relative;
  width: 160px;
  height: 40px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connector-line {
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 212, 255, 0.2) 50%,
      transparent 100%);
}

.data-nodes {
  display: flex;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.node {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00d4ff;
  opacity: 0.3;
  animation: nodePulse 1.5s infinite ease-in-out;
}

.node.d1 {
  animation-delay: 0s;
}

.node.d2 {
  animation-delay: 0.3s;
}

.node.d3 {
  animation-delay: 0.6s;
}

@keyframes nodePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
    box-shadow: 0 0 15px #00d4ff, 0 0 30px rgba(0, 212, 255, 0.5);
  }
}

/* Status Info */
.loading-info {
  font-family: serif;
  /* B2B SaaS Luxury */
}

.info-main {
  font-size: 16px;
  letter-spacing: 0.3em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeInDown 0.8s ease forwards 0.5s;
}

.info-sub {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  font-family: sans-serif;
  opacity: 0;
  animation: fadeInDown 0.8s ease forwards 0.7s;
}

/* Shared Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
  .loading-logo-img {
    width: 240px;
  }

  .info-main {
    font-size: 14px;
  }
}