/*
Theme Name: FlowRish
Theme URI: https://flowrish.jp
Author: FlowRish LLC
Description: FlowRish合同会社 公式サイトテーマ
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Syne:wght@700;800&display=swap');

:root {
  --ink: #1A2E33;
  --mid: #5E7075;
  --soft: #EFF7F9;
  --white: #FFFFFF;
  --primary: #05ABCD;
  --primary-dark: #0487A3;
  --primary-pale: #E4F5FA;
  --accent: #0A84FF;
  --yellow: #FFC94D;
  --green: #30D158;
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.08);
  width: min(680px, calc(100% - 32px));
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo-img {
  height: 34px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--mid);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.75 !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 140px 64px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-left { animation: fadeUp 0.7s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.dot-live {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  display: inline-block;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 u {
  text-decoration: none;
  background: linear-gradient(180deg, transparent 60%, rgba(5,171,205,0.25) 60%);
}

.hero-desc {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-dark {
  background: var(--ink);
  color: white;
  box-shadow: 0 4px 16px rgba(28,28,30,0.25);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28,28,30,0.3); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(0,0,0,0.15);
}
.btn-ghost:hover { background: var(--soft); }

/* ── RISH AVATAR CARD ── */
.hero-right {
  display: flex;
  justify-content: center;
  animation: fadeUp 0.7s ease 0.15s both;
}

.rish-card {
  background: var(--soft);
  border-radius: 28px;
  padding: 40px 32px;
  width: 320px;
  position: relative;
  text-align: center;
}

.rish-avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
}

.avatar-svg { width: 110px; height: 110px; }

.rish-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.rish-title {
  font-size: 12px;
  color: var(--mid);
  font-weight: 500;
  margin-bottom: 20px;
}

.rish-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 20px;
}

.rtag {
  background: white;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  border: 1px solid rgba(0,0,0,0.07);
}

.rish-quote {
  background: white;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  text-align: left;
}

.rish-quote::before {
  content: '"';
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  color: var(--primary);
  line-height: 1;
  display: block;
  margin-bottom: -8px;
}

.badge-float {
  position: absolute;
  top: -12px; right: -12px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(5,171,205,0.35);
}

/* ── STORY ── */
#story {
  background: var(--ink);
  padding: 100px 64px;
}

.story-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.section-label.light { color: rgba(255,255,255,0.4); }
.section-label.dark  { color: var(--primary); }

#story h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: white;
  line-height: 1.25;
  margin-bottom: 56px;
}

.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.1);
}

.tl-item {
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}

.tl-dot {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tl-dot.orange { background: rgba(5,171,205,0.2); }
.tl-dot.blue   { background: rgba(10,132,255,0.2); }
.tl-dot.green  { background: rgba(48,209,88,0.2); }

.tl-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.tl-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

/* ── SERVICES ── */
#services {
  padding: 100px 64px;
  max-width: 1100px;
  margin: 0 auto;
}

#services h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-item {
  border-radius: var(--radius);
  background: var(--soft);
  overflow: hidden;
  transition: background 0.25s;
}

.service-item:hover,
.service-item.open {
  background: var(--primary-pale);
}

.service-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

.service-icon-box {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.ic-auto   { background: #E4F5FA; }
.ic-tool   { background: #EFF6FF; }
.ic-consul { background: #F0FDF4; }
.ic-ec     { background: #FFF6E4; }

.service-text h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-text p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}

.service-arrow {
  font-size: 20px;
  color: var(--mid);
  transition: transform 0.3s, color 0.2s;
}

.service-item:hover .service-arrow { color: var(--primary); }
.service-item.open .service-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.service-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.service-detail-inner {
  padding: 0 32px 28px 112px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.9;
}

/* ── TOOLS ── */
#tools {
  background: var(--soft);
  padding: 100px 64px;
}

.tools-inner {
  max-width: 1100px;
  margin: 0 auto;
}

#tools h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

#tools .sub {
  font-size: 15px;
  color: var(--mid);
  margin-bottom: 48px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.tool-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.tool-emoji { font-size: 28px; margin-bottom: 14px; }

.tool-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tool-card p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.bonus-block {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px dashed rgba(0,0,0,0.12);
}

.bonus-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--mid);
  margin-bottom: 16px;
}

.bonus-card {
  max-width: 420px;
  border: 1.5px dashed rgba(5,171,205,0.35);
}

.s-live { background: rgba(48,209,88,0.12); color: #1a7f37; }
.s-soon { background: rgba(255,214,10,0.2);  color: #856404; }
.s-dev  { background: rgba(10,132,255,0.1);  color: #0550ae; }

/* ── CONTACT ── */
#contact {
  padding: 100px 64px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

#contact h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

#contact p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--soft);
  border-radius: 24px;
  padding: 40px;
  text-align: left;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
}

.contact-line:last-child { border-bottom: none; }
.contact-icon { font-size: 20px; width: 28px; text-align: center; }
.contact-label { color: var(--mid); font-size: 12px; font-weight: 600; width: 80px; flex-shrink: 0; }
.contact-val { color: var(--ink); font-weight: 500; }

/* ── COMPANY ── */
#company {
  background: white;
  padding: 80px 64px;
}

.company-inner {
  max-width: 900px;
  margin: 0 auto;
}

#company h2 {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.company-table td {
  padding: 16px 8px;
  font-size: 14px;
  vertical-align: top;
}

.company-table td:first-child {
  color: var(--mid);
  font-weight: 600;
  font-size: 12px;
  width: 140px;
  padding-top: 18px;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 32px 48px;
  font-size: 12px;
}

footer strong { color: rgba(255,255,255,0.7); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 12px 18px; }
  .nav-links { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 40px;
  }
  .hero-right {
    display: flex;
    justify-content: center;
  }
  .rish-card { width: 100%; max-width: 360px; }

  #story, #contact, #company { padding: 64px 24px; }

  #services {
    padding: 64px 24px;
    max-width: 100%;
  }
  .service-row {
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
    padding: 20px 18px;
  }
  .service-icon-box {
    width: 44px; height: 44px;
    font-size: 20px;
  }
  .service-detail-inner {
    padding: 0 18px 20px 18px;
  }
	
  #tools { padding: 64px 24px; }
  .tools-inner { max-width: 100%; }
}
