/* ============================================================
 * CF Asset Inc. — corporate site
 *   landing_page のテイストを共通基盤として継承し、
 *   コーポレート向けセクション (Mission / Service / Profile /
 *   Governance / Contact) を追加した版。
 * ============================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #fafaf8;
  --bg-3: #f4f4f2;
  --ink: #1a1a1a;
  --ink-dim: #555555;
  --ink-mute: #9a9a9a;
  --line: #ececec;
  --pink: #ff6fa3;
  --pink-2: #ffa0bf;
  --pink-deep: #d94d7e;
  --accent: #ffb25c;
  --accent-2: #ffe3a8;
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.06);
  --font-display: 'Kaisei Decol', 'Hiragino Mincho ProN', serif;
  --font-ja: 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
}

/* LP と同じく data-font='gothic' のときは display を Zen Kaku Gothic New に切り替え */
body[data-font='mincho'] {
  --font-display: 'Kaisei Decol', serif;
}
body[data-font='gothic'] {
  --font-display: 'Zen Kaku Gothic New', sans-serif;
}
body[data-font='gothic'] .sec-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

/* very subtle dot pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.035) 1px, transparent 1.2px);
  background-size: 24px 24px;
  opacity: 0.8;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }
}

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo em {
  font-style: normal;
  color: var(--pink);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--ink-dim);
  font-weight: 500;
}
.nav-links a {
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--pink);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 111, 163, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 111, 163, 0.45);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--pink-2);
}
.btn-lg {
  padding: 16px 30px;
  font-size: 15px;
}
.btn svg {
  width: 16px;
  height: 16px;
}

/* ============== HERO ============== */
.hero {
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .hero {
    padding: 72px 0 56px;
  }
}
.hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: -20%;
  left: -10%;
  width: 70%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(255, 160, 191, 0.5), rgba(255, 160, 191, 0) 60%);
  filter: blur(60px);
}
.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  bottom: -30%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(255, 178, 92, 0.35), rgba(255, 178, 92, 0) 60%);
  filter: blur(60px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ja);
  font-weight: 700;
  color: var(--pink-deep);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border: 1px solid rgba(255, 111, 163, 0.35);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(255, 111, 163, 0.12);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 111, 163, 0.22);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(255, 111, 163, 0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.6vw, 68px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 24px 0 0;
  color: var(--ink);
  max-width: 920px;
}
.hero-title .pink {
  color: var(--pink);
  position: relative;
}
.hero-title .pink::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 6%;
  height: 18%;
  z-index: -1;
  background: var(--accent-2);
  border-radius: 6px;
  transform: rotate(-1deg);
}
.hero-sub {
  margin-top: 32px;
  max-width: 640px;
  font-size: 16px;
  line-height: 2;
  color: var(--ink-dim);
}
.hero-sub b {
  color: var(--ink);
  font-weight: 700;
}

/* ============== SECTION SHARED ============== */
section {
  position: relative;
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  section {
    padding: 64px 0;
  }
}
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ja);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pink-deep);
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(217, 150, 120, 0.1);
}
.sec-label::before {
  content: '♡';
  color: var(--pink);
  font-size: 11px;
}
.sec-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 18px 0 0;
  max-width: 820px;
  color: var(--ink);
}
.sec-title em {
  font-style: normal;
  color: var(--pink);
  position: relative;
}
.sec-title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 35%;
  background: var(--accent-2);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-0.8deg);
}
.sec-head {
  margin-bottom: 48px;
}
.sec-desc {
  margin-top: 22px;
  max-width: 760px;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 2;
}
.sec-desc b {
  color: var(--ink);
  font-weight: 700;
}
.sec-desc + .sec-desc {
  margin-top: 18px;
}

/* ============== MISSION (narrative) ============== */
.mission {
  background: #fff;
}
.mission .pink-marker {
  background: linear-gradient(transparent 60%, var(--accent-2) 60%);
  font-weight: 700;
  color: var(--ink);
  padding: 0 4px;
}

/* ============== SERVICE ============== */
.service {
  background: var(--bg-2);
}
.service-list {
  display: grid;
  gap: 24px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-2);
  box-shadow: 0 16px 36px rgba(255, 111, 163, 0.15);
}
@media (max-width: 640px) {
  .service-card {
    padding: 28px 22px 24px;
  }
}
.service-card-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.service-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--pink-deep);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.service-card-head h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.5;
  color: var(--ink);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.feature-list h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--pink-deep);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-list h4::before {
  content: '';
  width: 8px;
  height: 2px;
  background: var(--pink);
}
.feature-list p {
  font-size: 14px;
  color: var(--ink-dim);
  margin: 0;
  line-height: 1.95;
}

/* ============== COMPANY PROFILE ============== */
.profile-list {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.profile-list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.profile-list dt {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}
.profile-list dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.85;
}
@media (max-width: 640px) {
  .profile-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 4px;
  }
}
.biz-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: biz;
}
.biz-list li {
  counter-increment: biz;
  position: relative;
  padding-left: 2.5em;
  margin: 0;
}
.biz-list li::before {
  content: '(' counter(biz) ')';
  position: absolute;
  left: 0;
  font-variant-numeric: tabular-nums;
}

/* ============== GOVERNANCE ============== */
.governance {
  background: var(--bg-2);
}
.gov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.gov-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.gov-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-2);
  box-shadow: 0 16px 36px rgba(255, 111, 163, 0.15);
}
.gov-card .ic-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 111, 163, 0.18), rgba(255, 178, 92, 0.18));
  border: 1px solid rgba(255, 111, 163, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.gov-card .ic-wrap svg {
  width: 20px;
  height: 20px;
  color: var(--pink);
}
.gov-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  color: var(--ink);
}
.gov-card p {
  font-size: 14px;
  color: var(--ink-dim);
  margin: 0;
  line-height: 1.95;
}

/* ============== CONTACT ============== */
.mail-link {
  color: #0a66c2;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.2s;
}
.mail-link:hover {
  color: #1a82e8;
}

/* ============== FOOTER ============== */
footer {
  padding: 60px 0 40px;
  font-size: 12px;
  color: var(--ink-mute);
  border-top: 1px solid var(--line);
  background: #fff;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.foot-links a {
  transition: color 0.2s;
}
.foot-links a:hover {
  color: var(--pink);
}

/* =============================================================
 * DOC pages（利用規約など）
 *   landing_page の doc レイアウトと揃えた読みやすい縦長ドキュメント用。
 * ============================================================= */
.doc-page {
  padding: 80px 0 120px;
  min-height: 60vh;
}
.doc-page .container {
  max-width: 860px;
}
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 32px;
  transition: color 0.2s;
}
.doc-back:hover {
  color: var(--pink);
}
.doc-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 40px;
  color: var(--ink);
}
.doc-section {
  margin-bottom: 48px;
}
.doc-section:last-child {
  margin-bottom: 0;
}
.doc-lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-dim);
  margin: 0 0 24px;
}
.doc-terms {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-dim);
}
.doc-terms p {
  margin: 0 0 18px;
}
.doc-chapter-heading {
  margin: 48px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
}
.doc-chapter-heading:first-child {
  margin-top: 0;
}
.doc-article-heading {
  margin: 30px 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.doc-terms-list {
  margin: 0 0 20px;
  padding-left: 1.4em;
}
.doc-terms-list li {
  margin: 8px 0;
}
.doc-terms-ol {
  margin: 0;
  padding-left: 1.5em;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-dim);
}
.doc-terms-ol li {
  margin-top: 10px;
}
.doc-terms-ol li:first-child {
  margin-top: 0;
}

.doc-dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  column-gap: 24px;
  row-gap: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}
.doc-dl dt {
  font-weight: 700;
  color: var(--ink);
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.doc-dl dd {
  margin: 0;
  padding: 16px 0;
  color: var(--ink-dim);
  border-top: 1px solid var(--line);
}
.doc-dl dt:first-of-type,
.doc-dl dd:first-of-type {
  border-top: 0;
}
.doc-dl dd small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-mute);
}
@media (max-width: 720px) {
  .doc-dl {
    grid-template-columns: 1fr;
  }
  .doc-dl dt {
    padding: 16px 0 4px;
  }
  .doc-dl dd {
    padding: 0 0 16px;
  }
}

/* ========== FAQ（CreatorFans 共通・LP と同パターン） ========== */
.faq-section {
  padding: 88px 0 96px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.faq-section .sec-head {
  margin-bottom: 28px;
}

.faq-root {
  max-width: 920px;
  margin: 0 auto;
}

.faq-intro {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-dim);
  margin: 0 0 24px;
}

.faq-search {
  margin-bottom: 24px;
}

.faq-search-label {
  display: block;
}

.faq-search-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.faq-filter-input {
  width: 100%;
  max-width: 420px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
}

.faq-filter-input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 111, 163, 0.2);
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.faq-tab {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-dim);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.faq-tab:hover {
  color: var(--ink);
  border-color: var(--ink-mute);
}

.faq-tab.is-active {
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  color: #fff;
  border-color: transparent;
}

.faq-panel.is-hidden {
  display: none;
}

.faq-category {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--bg);
  overflow: hidden;
}

.faq-category.faq-category-empty {
  display: none;
}

.faq-category-summary {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}

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

.faq-category-summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--pink);
}

.faq-category[open] > .faq-category-summary::after {
  content: "\2212";
}

.faq-item-list {
  padding: 0 12px 12px;
}

.faq-item {
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid transparent;
}

.faq-item.is-filtered-out {
  display: none;
}

.faq-q {
  padding: 14px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.55;
  list-style: none;
}

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

.faq-q::after {
  content: "";
  float: right;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq-item[open] > .faq-q::after {
  transform: rotate(-135deg);
  margin-top: 10px;
}

.faq-minor {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--pink-deep);
  background: rgba(255, 111, 163, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.faq-a {
  padding: 12px 12px 16px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-dim);
  border-top: 1px solid var(--line);
}

.faq-a a {
  color: var(--pink-deep);
  text-decoration: underline;
  word-break: break-all;
}

.faq-item[open] {
  border-color: var(--line);
  background: var(--bg-3);
}

@media (max-width: 760px) {
  .faq-section {
    padding: 64px 0 72px;
  }

  .faq-tabs {
    gap: 8px;
  }

  .faq-tab {
    padding: 8px 14px;
    font-size: 13px;
  }
}
