/* ============================================================
   機能一覧（/tomarin/kinou/）。トップと同じ部品（site.css・mobbin-skin.css・type.css）の上に、
   このページだけの並び（目次カード・動画の舞台・そのほかの機能）を足す。
   ============================================================ */

/* ---------- ナビ：トップ（templates/index.html の中の style）と同じ並び ---------- */
.nav-logo-img { display: block; object-fit: contain; }
.site-nav { padding: 12px 0 !important; }
.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav-inner .nav-brand { justify-self: start; }
.nav-inner .nav-menu { justify-self: center; gap: 32px; }
.nav-inner .nav-cta { justify-self: end; }
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-inner .nav-menu { display: none; }
}
@media (max-width: 780px) { .nav-inner { padding: 0 22px; } }

/* 改行してよい区切りごとの塊（「|」で区切った文） */
.kn-h3 .nw, .kn-body .nw, .kn-toc-sub .nw, .kn-more-desc .nw, .faq-a .nw,
.kn-plan .nw, .hero-sub .nw, .faq-q .nw { display: inline-block; }
.kn-h3, .kn-body, .kn-more-desc, .kn-toc-sub, .kn-plan p { word-break: auto-phrase; text-wrap: pretty; }

/* ---------- 冒頭 ---------- */
.kn-hero { padding-bottom: 24px !important; }
.kn-hero h1 { font-size: clamp(34px, 5.6vw, 66px) !important; }
.kn-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; margin-bottom: 26px; border-radius: 999px;
  background: var(--green-bg); color: var(--green-text); border: 0.5px solid rgba(111,175,42,0.3);
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
}
.kn-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green); animation: softPulse 2s ease-in-out infinite; }
.kn-hero .hero-buttons { margin-bottom: 0 !important; }

/* 目次：トップの「お悩み」カードと同じ面 */
.kn-toc {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 1008px; margin: 72px auto 0; text-align: left;
}
.kn-toc > .reveal { height: 100%; }
.kn-toc-card {
  position: relative; height: 100%; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 20px 20px; border-radius: 18px; background: #F7F7F5;
  color: var(--black); text-decoration: none;
  transition: background 200ms ease, transform 250ms cubic-bezier(.16,1,.3,1);
}
.kn-toc-card:hover { background: #F0F0EC; transform: translateY(-3px); }
.kn-toc-no { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-size: 12px; font-weight: 600; color: var(--text-dim); margin-bottom: 18px; }
.kn-toc-no i, .kn-chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.kn-toc-title { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.kn-toc-sub { font-size: 12.5px; line-height: 1.7; color: var(--text-dim); }
.kn-toc-arrow { position: absolute; top: 22px; right: 20px; color: rgba(0,0,0,0.35); transition: transform 250ms ease, color 200ms ease; }
.kn-toc-card:hover .kn-toc-arrow { transform: translateY(3px); color: var(--black); }

/* ---------- 章 ---------- */
.kn-chapter { scroll-margin-top: 24px; }
.kn-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; margin-bottom: 18px;
  border: 1px solid rgba(0,0,0,0.09); border-radius: 999px; background: #fff;
  font-family: var(--font-en); font-size: 12px; font-weight: 600; color: var(--text-dim);
}
.kn-chapter .section-head { max-width: 720px; }

.kn-row { margin-bottom: 96px; }
.kn-copy {
  display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: end;
  margin-bottom: 28px;
}
.kn-copy .highlight-label { margin-bottom: 14px; }
.kn-h3 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.35; }
.kn-body { margin: 0; font-size: 15px; line-height: 2; color: var(--text-dim); }
.kn-link { color: var(--green-text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.kn-link:hover { text-decoration: underline; }

/* 動画の舞台：章の色を淡く敷き、その上に画面を浮かせる */
.kn-stage { padding: 28px; border-radius: 26px; border: 1px solid rgba(0,0,0,0.04); }
.kn-stage-green { background: linear-gradient(160deg, #EEF6E2 0%, #F8FBF3 60%, #F3F8EC 100%); }
.kn-stage-blue { background: linear-gradient(160deg, #E4F2F6 0%, #F5FAFC 60%, #EAF4F7 100%); }
.kn-stage-yellow { background: linear-gradient(160deg, #FBF4D6 0%, #FDFBF1 60%, #FAF5E0 100%); }
.kn-screen {
  position: relative; overflow: hidden; border-radius: 14px; background: #F3F4EF;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 28px 64px -30px rgba(0,0,0,0.28);
}
.kn-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.kn-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding-left: 3px;
  color: #fff; background: rgba(17,17,17,0.78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
  transition: transform 200ms ease, background 200ms ease;
}
.kn-play:hover { background: #111; transform: translate(-50%, -50%) scale(1.06); }

/* そのほかの機能 */
.kn-more-title { margin: 0 0 16px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.kn-more-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kn-more-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: 16px; background: #fff; border: 1px solid rgba(0,0,0,0.07);
}
.kn-chapter:not(.bg-off) .kn-more-item { background: #F7F7F5; border-color: transparent; }
.kn-more-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.kn-ic-green { background: var(--green-bg); color: var(--green-text); }
.kn-ic-blue { background: var(--blue-bg); color: var(--blue-text); }
.kn-ic-yellow { background: var(--yellow-bg); color: var(--yellow-text); }
.kn-more-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kn-more-name { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.5; }
.kn-more-desc { font-size: 13px; line-height: 1.75; color: var(--text-dim); }
.kn-more-desc a { color: var(--green-text); font-weight: 600; margin-left: 4px; text-decoration: none; white-space: nowrap; }
.kn-soon { font-style: normal; font-size: 10.5px; font-weight: 500; color: var(--blue-text); background: var(--blue-bg); border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: 1px; }

/* ---------- プラン ---------- */
.kn-plan {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 48px; border-radius: 26px; background: linear-gradient(160deg, #EEF6E2 0%, #F8FBF3 70%);
}
.kn-plan-title { margin: 0 0 14px; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.35; }
.kn-plan p { margin: 0 0 26px; font-size: 15px; line-height: 2; color: var(--text-dim); }
.kn-plan-cards { display: grid; gap: 12px; }
.kn-plan-card { padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid rgba(0,0,0,0.06); }
.kn-plan-name { font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--green-text); margin-bottom: 6px; }
.kn-plan-price { font-family: var(--font-en); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.kn-plan-price small { font-size: 13px; font-weight: 500; color: var(--text-dim); margin-left: 2px; }
.kn-plan-rate { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.kn-plan-plus { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.06); font-size: 13px; line-height: 1.7; }
.kn-plan-plus svg { flex: none; margin-top: 4px; }
.kn-plan-sec { padding-bottom: 0 !important; }

/* ---------- 画面の幅ごと ---------- */
@media (max-width: 960px) {
  .kn-toc { grid-template-columns: repeat(2, 1fr); }
  .kn-copy { grid-template-columns: 1fr; gap: 14px; }
  .kn-more-grid { grid-template-columns: repeat(2, 1fr); }
  .kn-plan { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
}
@media (max-width: 640px) {
  .kn-hero { padding-bottom: 8px !important; }
  .kn-hero .hero-buttons { display: flex; flex-direction: column; gap: 10px; }
  .kn-hero .hero-buttons .btn { width: 100%; margin: 0 !important; }
  .kn-toc { margin-top: 48px; gap: 10px; }
  .kn-toc-card { padding: 18px 16px 16px; }
  .kn-toc-no { margin-bottom: 12px; }
  .kn-toc-title { font-size: 15.5px; }
  .kn-toc-arrow { top: 18px; right: 16px; }
  .kn-row { margin-bottom: 64px; }
  .kn-h3 { font-size: 22px; }
  .kn-body { font-size: 14.5px; }
  .kn-stage { margin: 0 -12px; padding: 10px; border-radius: 18px; }
  .kn-screen { border-radius: 10px; }
  .kn-play { width: 48px; height: 48px; }
  .kn-more-grid { grid-template-columns: 1fr; gap: 10px; }
  .kn-more-item { padding: 16px; }
  .kn-plan { padding: 28px 22px; border-radius: 20px; }
  .kn-plan-title { font-size: 23px; }
  .kn-plan .btn { width: 100%; }
}
