/* ============================================
   F-CONNECT LP — PROUD WORKS株式会社
   ============================================ */
:root {
  --teal-900: #17454f;
  --teal-700: #226b7a;
  --teal-600: #2e7d8c;
  --teal-500: #3a8fa0;
  --teal-100: #ddeef1;
  --teal-50:  #eef7f8;
  --navy:     #1e3a44;
  --ink:      #2b3f47;
  --gray:     #6b7c83;
  --yellow:   #f7d54d;
  --yellow-dark: #e8c22e;
  --white:    #ffffff;
  --radius:   16px;
  --shadow-sm: 0 2px 10px rgba(23, 69, 79, .07);
  --shadow-md: 0 10px 30px rgba(23, 69, 79, .12);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --font-en: "Montserrat", var(--font-jp);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-jp);
  color: var(--ink);
  line-height: 1.9;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }
.pc-only { display: inline; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; border-radius: 999px; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  border: none; line-height: 1.4; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(232, 194, 46, .32);
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(232, 194, 46, .42); }
.btn-outline {
  background: transparent; color: var(--teal-700);
  border: 2px solid var(--teal-600);
}
.btn-outline:hover { background: var(--teal-600); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: .9rem; }
.btn-header { background: var(--yellow); color: var(--navy); padding: 10px 24px; font-size: .95rem; box-shadow: var(--shadow-sm); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(23, 69, 79, .08);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-proud {
  font-family: var(--font-en); font-weight: 800; font-size: 1.05rem;
  color: var(--teal-700); letter-spacing: .04em; line-height: 1.1;
}
.brand-divider { width: 1px; height: 24px; background: rgba(23,69,79,.2); }
.brand-fconnect { height: 22px; width: auto; }
.global-nav { margin-left: auto; display: flex; gap: 26px; }
.global-nav a {
  font-size: .92rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 4px 0;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--teal-500); transition: width .3s ease; border-radius: 2px;
}
.global-nav a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 130px;
  background:
    radial-gradient(1000px 600px at 85% 10%, rgba(58,143,160,.16), transparent 60%),
    radial-gradient(800px 500px at 5% 90%, rgba(247,213,77,.14), transparent 60%),
    linear-gradient(160deg, #f2f9fa 0%, #e2f0f2 55%, #d5e9ec 100%);
  overflow: hidden;
}
/* 淡いドットグリッドで奥行きを出す */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(46, 125, 140, .13) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(720px 520px at 22% 68%, #000 0%, transparent 70%);
          mask-image: radial-gradient(720px 520px at 22% 68%, #000 0%, transparent 70%);
}
.hero-inner { position: relative; }
.hero-title .hl {
  background: linear-gradient(transparent 74%, rgba(247, 213, 77, .75) 74%);
  padding: 0 .04em;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero-eyebrow { margin-bottom: 18px; }
.hero-eyebrow span {
  display: inline-block; background: var(--navy); color: #fff;
  font-size: .95rem; font-weight: 700; letter-spacing: .06em;
  padding: 8px 22px; border-radius: 999px;
}
.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 900; color: var(--teal-700);
  letter-spacing: .04em; line-height: 1.3; margin-bottom: 12px;
  white-space: nowrap;
}
.hero-sub { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; color: var(--navy); letter-spacing: .08em; margin-bottom: 22px; }
.hero-logo { width: min(420px, 80%); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
/* ---- 管理画面モック（HTML/CSS描画） ---- */
.app-window {
  width: min(500px, 100%);
  margin: 64px 0 0 auto;
  background: #fff;
  border: 1px solid rgba(23, 69, 79, .08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(23, 69, 79, .10),
    0 12px 24px -8px rgba(23, 69, 79, .16),
    0 36px 72px -18px rgba(23, 69, 79, .24);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.app-bar {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #45879a, #35707f);
  color: #fff; padding: 12px 16px;
}
.app-brand {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-en); font-weight: 700; font-size: .78rem; letter-spacing: .06em;
  margin-right: 8px; white-space: nowrap;
}
.app-pill {
  font-size: .62rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35);
  white-space: nowrap;
}
.app-pill-ghost { margin-left: auto; background: transparent; opacity: .85; }
.app-sub {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px 0; background: #f4f8f9;
}
.app-tabs { display: flex; gap: 18px; font-size: .7rem; font-weight: 700; color: var(--gray); }
.app-tabs .is-active {
  color: var(--teal-700); border-bottom: 2.5px solid var(--teal-500); padding-bottom: 8px;
}
.app-tabs span:not(.is-active) { padding-bottom: 8px; }
.app-search {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .62rem; color: var(--gray);
  background: #fff; border: 1px solid rgba(23, 69, 79, .12); border-radius: 999px;
  padding: 4px 12px; margin-bottom: 6px;
}
.app-table { padding: 0 0 6px; }
.app-row {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr .8fr 2.4fr .8fr;
  align-items: center; gap: 4px;
  padding: 9px 16px; font-size: .66rem; color: var(--ink);
  border-bottom: 1px solid rgba(23, 69, 79, .06);
}
.app-row:last-child { border-bottom: none; }
.app-row-head {
  background: #5b6d75; color: #fff; font-size: .6rem; font-weight: 700; padding: 7px 16px;
}
.app-row b { color: rgba(23, 69, 79, .35); font-weight: 400; margin: 0 2px; }
.app-col-status { display: inline-flex; align-items: center; }
.chip {
  font-style: normal; font-size: .58rem; font-weight: 700;
  padding: 2.5px 8px; border-radius: 999px;
  background: #eef2f3; color: var(--gray);
}
.chip-active { background: var(--teal-600); color: #fff; }
.chip-done { background: var(--teal-100); color: var(--teal-700); }
.chip-edit { background: var(--navy); color: #fff; }

/* ---- 浮遊フィーチャーカード ---- */
.float-card {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  color: var(--navy); font-size: .78rem; font-weight: 700;
  padding: 10px 16px; border-radius: 12px;
  border: 1px solid rgba(23, 69, 79, .08);
  box-shadow: 0 10px 26px -6px rgba(23, 69, 79, .22);
}
.float-card svg { color: var(--teal-600); flex-shrink: 0; }
.float-card-1 { right: -14px; top: 54%; animation: float 6s ease-in-out 1.2s infinite; }
.float-card-2 { left: 4px; bottom: -34px; animation: float 6.5s ease-in-out .4s infinite; }
.hero-badge {
  position: absolute; top: -68px; right: -10px; z-index: 2;
  width: 148px; height: 148px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #3f98aa, var(--teal-700));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: 0 10px 24px rgba(23,69,79,.25);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.badge-approx { font-size: .8rem; font-weight: 500; }
.badge-price { font-family: var(--font-en); font-size: 2.3rem; font-weight: 800; line-height: 1.1; color: var(--yellow); }
.badge-price small { font-size: 1rem; font-weight: 700; }
.badge-note { font-size: .95rem; font-weight: 700; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; }

/* ---------- Sections common ---------- */
section { padding: 96px 0; }
.overline {
  text-align: center; font-family: var(--font-en); font-size: .78rem; font-weight: 700;
  letter-spacing: .32em; color: var(--teal-500); text-transform: uppercase; margin-bottom: 8px;
}
.overline-left { text-align: left; }
.section-lead { text-align: center; font-weight: 700; color: var(--teal-600); letter-spacing: .1em; margin-bottom: 6px; }
.section-title {
  text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 900;
  color: var(--navy); letter-spacing: .06em; margin-bottom: 56px; line-height: 1.5;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 4px; margin: 18px auto 0;
  border-radius: 4px; background: linear-gradient(90deg, var(--teal-500), var(--yellow));
}
.accent-num { font-family: var(--font-en); font-size: 1.4em; color: var(--teal-600); padding: 0 .08em; }
.sub-title { text-align: center; margin-bottom: 28px; }
.sub-title span {
  display: inline-block; font-size: 1.3rem; font-weight: 900; color: var(--teal-700);
  border-bottom: 4px solid var(--yellow); padding: 0 18px 6px; letter-spacing: .12em;
}
.asterisk { font-size: .8rem; color: var(--gray); margin-top: 14px; }
.asterisk.center { text-align: center; }

/* ---------- Problems ---------- */
.problems { background: var(--white); padding-bottom: 72px; }
.problem-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px;
}
.problem-card {
  background: var(--teal-50); border-radius: var(--radius);
  padding: 34px 22px; text-align: center;
  border: 1px solid rgba(58, 143, 160, .14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.problem-card p { font-size: .95rem; line-height: 1.9; }
.problem-card strong { color: var(--teal-700); }
.problem-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--white); color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.problem-icon svg { width: 38px; height: 38px; }
.solution-banner { text-align: center; color: var(--teal-600); }
.solution-banner p {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: var(--navy); letter-spacing: .06em;
}
.solution-banner span {
  color: var(--teal-600);
  background: linear-gradient(transparent 62%, rgba(247, 213, 77, .65) 62%);
  padding: 0 .1em;
}
.solution-arrow { width: 54px; margin-top: 18px; animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- About ---------- */
.about { background: linear-gradient(160deg, var(--teal-50), var(--teal-100)); }
.about-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.section-lead-left { font-weight: 700; color: var(--teal-600); letter-spacing: .1em; margin-bottom: 12px; font-size: 1.1rem; }
.about-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; color: var(--navy); line-height: 1.7; margin-bottom: 24px; }
.about-title em { color: var(--teal-600); background: linear-gradient(transparent 64%, rgba(247, 213, 77, .6) 64%); }
.about-text { color: var(--ink); }
/* ---- Webメニュー画面モック（HTML/CSS描画） ---- */
.menu-window {
  width: min(480px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(23, 69, 79, .08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(23, 69, 79, .10),
    0 12px 24px -8px rgba(23, 69, 79, .14),
    0 32px 64px -18px rgba(23, 69, 79, .20);
}
.menu-welcome { font-size: .66rem; font-weight: 700; opacity: .9; }
.menu-body { padding: 16px 18px 18px; background: #f6f9fa; }
.menu-cat {
  font-size: .68rem; font-weight: 700; color: var(--gray);
  letter-spacing: .08em; margin: 10px 2px 8px;
}
.menu-cat:first-child { margin-top: 0; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.menu-tile {
  background: #fff; border: 1px solid rgba(23, 69, 79, .07); border-radius: 10px;
  padding: 14px 10px 12px; text-align: center;
  box-shadow: 0 2px 6px rgba(23, 69, 79, .05);
}
.menu-tile svg { width: 22px; height: 22px; color: var(--teal-600); margin-bottom: 6px; }
.menu-tile b { display: block; font-size: .68rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.menu-tile span { display: block; font-size: .56rem; color: var(--gray); line-height: 1.5; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  position: relative; background: var(--white);
  border: 2px solid var(--teal-100); border-radius: 20px;
  padding: 52px 30px 36px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--teal-500); }
.feature-num {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff; font-family: var(--font-en); font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(34, 107, 122, .25);
}
.feature-lead { font-size: .92rem; font-weight: 500; color: var(--gray); margin-bottom: 12px; }
.feature-heading { font-size: 1.35rem; font-weight: 900; color: var(--teal-700); line-height: 1.7; margin-bottom: 16px; }
.feature-heading mark { background: linear-gradient(transparent 60%, rgba(247, 213, 77, .7) 60%); color: inherit; padding: 0 .05em; }
.feature-desc { font-size: .9rem; color: var(--ink); text-align: left; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(247,213,77,.12), transparent 55%),
    linear-gradient(135deg, var(--teal-700) 0%, var(--teal-500) 100%);
  color: #fff; text-align: center; padding: 76px 0;
}
.cta-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: .08em; margin-bottom: 18px; }
.cta-text { margin-bottom: 30px; opacity: .95; }

/* ---------- Functions ---------- */
.functions { background: var(--white); }
.function-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.function-card {
  background: var(--teal-50); border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid rgba(58, 143, 160, .12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.function-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.function-icon {
  width: 64px; height: 64px; border-radius: 16px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 12px rgba(34, 107, 122, .20);
}
.function-icon svg { width: 34px; height: 34px; }
.function-card h3 { font-size: 1.1rem; font-weight: 900; color: var(--navy); line-height: 1.7; margin-bottom: 12px; }
.function-card h3 span { color: var(--teal-600); }
.function-card p { font-size: .88rem; color: var(--ink); }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--teal-50) 0%, #fff 30%, var(--teal-50) 100%); }
.initial-cost {
  background: var(--white); border-radius: 24px; padding: 56px 48px;
  box-shadow: var(--shadow-md); margin-bottom: 80px;
}
.initial-note { text-align: center; margin-bottom: 28px; }
.initial-note strong { color: #c0392b; font-size: 1.15em; }
.initial-price-box {
  display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
  background: var(--teal-50); border: 2px dashed var(--teal-500); border-radius: var(--radius);
  padding: 28px 32px; margin-bottom: 40px;
}
.initial-logo { width: 200px; }
.initial-price { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.initial-price em {
  font-family: var(--font-en); font-size: 3.2rem; font-weight: 800; color: var(--teal-600);
  background: linear-gradient(transparent 68%, rgba(247, 213, 77, .7) 68%);
  padding: 0 .06em;
}
.initial-price em small { font-size: 1.4rem; font-weight: 700; }
.included h4 { text-align: center; font-size: 1.1rem; font-weight: 900; color: var(--teal-700); margin-bottom: 20px; }
.included-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; max-width: 720px; margin: 0 auto; }
.included-list li {
  position: relative; padding-left: 32px; font-weight: 500;
  border-bottom: 1px dashed rgba(58, 143, 160, .3); padding-bottom: 8px;
}
.included-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 14px; height: 8px; border-left: 3px solid var(--teal-500); border-bottom: 3px solid var(--teal-500);
  transform: rotate(-45deg);
}
.customize-note {
  margin-top: 44px; text-align: center;
  background: linear-gradient(135deg, rgba(247,213,77,.14), rgba(58,143,160,.1));
  border-radius: var(--radius); padding: 32px 36px;
}
.customize-lead {
  display: inline-block; background: var(--teal-600); color: #fff; font-weight: 700;
  padding: 4px 20px; border-radius: 999px; font-size: .9rem; margin-bottom: 14px;
}
.customize-title { font-size: 1.15rem; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.customize-text { font-size: .92rem; max-width: 680px; margin: 0 auto; }

.monthly-lead { text-align: center; margin-bottom: 40px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  position: relative; background: var(--white); border-radius: 20px;
  border: 2px solid var(--teal-100); padding: 40px 28px 32px;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-recommend { border-color: var(--teal-500); box-shadow: var(--shadow-md); }
.plan-ribbon {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--navy); font-weight: 900; font-size: .85rem;
  padding: 5px 22px; border-radius: 999px; box-shadow: 0 4px 12px rgba(232,194,46,.4);
}
.plan-name { text-align: center; font-size: 1.15rem; font-weight: 900; color: var(--teal-700); margin-bottom: 16px; }
.plan-price { text-align: center; color: var(--navy); margin-bottom: 14px; }
.plan-price .yen-label { font-size: .9rem; font-weight: 700; margin-right: 6px; }
.plan-price em { font-family: var(--font-en); font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.plan-price .yen { font-size: 1rem; font-weight: 700; margin-left: 2px; }
.plan-desc { font-size: .88rem; color: var(--gray); margin-bottom: 20px; min-height: 3.4em; }
.plan-card h5 {
  font-size: .9rem; font-weight: 900; color: var(--teal-600);
  border-top: 1px solid var(--teal-100); padding-top: 18px; margin-bottom: 12px;
}
.plan-card ul li {
  position: relative; padding-left: 26px; font-size: .88rem; font-weight: 500; margin-bottom: 10px;
}
.plan-card ul li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 12px; height: 7px; border-left: 2.5px solid var(--teal-500); border-bottom: 2.5px solid var(--teal-500);
  transform: rotate(-45deg);
}
.plan-card ul li small { display: block; color: var(--gray); font-weight: 400; }
.license-box {
  margin-top: 48px; text-align: center; background: var(--white);
  border: 2px solid var(--teal-100); border-radius: var(--radius); padding: 32px 36px;
}
.license-box h4 { font-size: 1.05rem; font-weight: 900; color: var(--teal-700); margin-bottom: 10px; }
.license-price { font-weight: 700; margin-bottom: 8px; }
.license-price em { font-family: var(--font-en); font-size: 1.6rem; font-weight: 800; color: var(--teal-600); }
.license-box p:last-child { font-size: .9rem; color: var(--gray); }

/* ---------- Flow ---------- */
.flow { background: var(--white); }
.flow-list { max-width: 760px; margin: 0 auto; position: relative; }
.flow-list::before {
  content: ""; position: absolute; left: 44px; top: 20px; bottom: 20px;
  width: 3px; background: linear-gradient(180deg, var(--teal-500), var(--teal-100));
  border-radius: 3px;
}
.flow-item { position: relative; display: flex; gap: 32px; padding: 0 0 44px; }
.flow-item:last-child { padding-bottom: 0; }
.flow-step {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  box-shadow: 0 6px 16px rgba(34, 107, 122, .22);
}
.flow-step em { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.flow-body {
  flex: 1; background: var(--teal-50); border-radius: var(--radius);
  padding: 26px 30px; border: 1px solid rgba(58, 143, 160, .12);
}
.flow-body h3 { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.flow-body p { font-size: .92rem; margin-bottom: 0; }
.flow-body .btn { margin-top: 16px; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--teal-50), var(--teal-100)); }
.contact-form {
  max-width: 760px; margin: 0 auto; background: var(--white);
  border-radius: 24px; padding: 52px 48px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 22px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--navy); }
.req {
  display: inline-block; background: #c0392b; color: #fff; font-size: .7rem; font-weight: 700;
  border-radius: 4px; padding: 1px 8px; margin-left: 8px; vertical-align: 2px;
}
.contact-form label .req { align-self: flex-start; margin-left: 0; order: 0; }
.contact-form label { position: relative; }
.contact-form label .req { position: absolute; right: 0; top: 4px; margin: 0; }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--teal-100); border-radius: 10px;
  padding: 13px 16px; background: var(--teal-50);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(58, 143, 160, .12);
}
.btn-submit { align-self: center; min-width: 260px; margin-top: 10px; }
.btn-submit:disabled { opacity: .6; cursor: default; transform: none; }
.form-status {
  text-align: center; font-weight: 700; font-size: .95rem;
  padding: 14px 18px; border-radius: 10px;
}
.form-status.is-ok { color: var(--teal-700); background: var(--teal-50); border: 1.5px solid var(--teal-100); }
.form-status.is-error { color: #c0392b; background: #fdf0ee; border: 1.5px solid #f2c7c0; }

/* ---------- Company ---------- */
.company { background: var(--white); }
.company-table { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--teal-100); }
.company-table > div {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding: 22px 12px; border-bottom: 1px solid var(--teal-100);
}
.company-table dt { font-weight: 900; color: var(--teal-700); }
.company-table dd a { color: var(--teal-600); font-weight: 700; }
.business-list > li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.business-list > li::before { content: "・"; position: absolute; left: 0; color: var(--teal-600); }
.business-list ul { margin: 2px 0 8px 8px; }
.business-list ul li { position: relative; padding-left: 22px; font-size: .92rem; color: var(--gray); }
.business-list ul li::before { content: "┗"; position: absolute; left: 0; color: var(--teal-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 44px 0; }
.footer-inner { text-align: center; }
.footer-brand { font-weight: 900; letter-spacing: .1em; margin-bottom: 8px; }
.footer-copy { font-size: .8rem; opacity: .7; }

/* ---------- Floating CTA ---------- */
.fab-contact {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff; font-weight: 700; font-size: .9rem;
  padding: 13px 22px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(23, 69, 79, .35);
  transition: transform .25s ease, box-shadow .25s ease, opacity .3s ease;
  opacity: 0; pointer-events: none;
}
.fab-contact.is-shown { opacity: 1; pointer-events: auto; }
.fab-contact:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(23, 69, 79, .45); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .global-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero { padding: 130px 0 100px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .app-window { margin: 0 auto; }
  .float-card-1 { right: 0; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 44px; max-width: 480px; margin: 0 auto; }
  .function-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 34px; }
}
@media (max-width: 600px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
  section { padding: 68px 0; }
  .header-inner { padding: 12px 16px; gap: 12px; }
  .brand-proud { font-size: .9rem; }
  .brand-fconnect { height: 18px; }
  .btn-header { padding: 8px 16px; font-size: .82rem; margin-left: auto; }
  .brand-divider { display: none; }
  .hero { padding: 110px 0 90px; }
  .hero-badge { width: 118px; height: 118px; top: -62px; right: -4px; }
  .badge-price { font-size: 1.8rem; }
  .app-window { margin-top: 58px; }
  .app-row { grid-template-columns: .7fr .9fr .9fr 2.7fr .7fr; padding: 9px 10px; }
  .app-row > span:nth-child(4) { display: none; }
  .app-row-head { padding: 7px 10px; }
  .app-bar { gap: 6px; padding: 10px 12px; }
  .app-pill { font-size: .56rem; padding: 3px 9px; }
  .app-brand { font-size: .7rem; }
  .chip { font-size: .52rem; padding: 2px 6.5px; }
  .app-row b { margin: 0; }
  .float-card { font-size: .68rem; padding: 8px 12px; }
  .float-card-2 { bottom: -14px; }
  .problem-grid { grid-template-columns: 1fr; }
  .function-grid { grid-template-columns: 1fr; }
  .included-list { grid-template-columns: 1fr; }
  .initial-cost { padding: 40px 24px; }
  .contact-form { padding: 36px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .company-table > div { grid-template-columns: 1fr; gap: 4px; }
  .flow-list::before { left: 32px; }
  .flow-step { width: 64px; height: 64px; }
  .flow-step em { font-size: 1.4rem; }
  .flow-item { gap: 18px; }
  .flow-body { padding: 20px 20px; }
  .fab-contact { font-size: .82rem; padding: 11px 18px; }
}
