/* =========================================================
   渡邊翼 AI伴走支援 公式サイト 共有スタイル
   ========================================================= */

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Variables ===== */
:root {
  --primary: #002A49;
  --secondary: #0089AC;
  --tertiary: #D2B9BB;
  --accent: #FBBC04;
  --bg-light: #F5F8FA;
  --text-main: #1a1a1a;
  --text-sub: #555555;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,42,73,0.10);
  --gradient-primary: linear-gradient(135deg, #002A49 0%, #004a7c 55%, #0089AC 100%);
  --gradient-accent:  linear-gradient(135deg, #FBBC04 0%, #FFD54F 100%);
  --gradient-teal:    linear-gradient(135deg, #0089AC 0%, #006080 100%);
  --gradient-light:   linear-gradient(160deg, #f0f8fa 0%, #e4f3f8 100%);
  --header-h: 60px;
}

/* ===== Layout ===== */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-wide {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
main section { padding: 64px 0; }
main section:nth-child(even) { background: var(--gradient-light); }

/* ===== Typography ===== */
h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 700; line-height: 1.4; }
h2 { font-size: clamp(1.2rem, 4vw, 1.6rem); font-weight: 700; line-height: 1.4; color: var(--primary); }
h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); }
p { margin-bottom: 1rem; color: var(--text-main); }
p:last-child { margin-bottom: 0; }

/* ===== Section Label & Divider ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #FBBC04, #0089AC);
  border-radius: 2px;
  margin: 16px 0 28px;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ===== Site Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0,42,73,0.08);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-right: auto;
}
.brand-name { font-size: 1rem; font-weight: 700; color: var(--primary); letter-spacing: 0.02em; }
.brand-sub { font-size: 0.62rem; color: var(--text-sub); letter-spacing: 0.04em; }

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 6px 0;
  position: relative;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--secondary); }
.site-nav a.is-active { color: var(--secondary); font-weight: 700; }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gradient-teal);
  border-radius: 2px;
}
.header-cta {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(251,188,4,0.30);
  transition: transform 0.15s, box-shadow 0.15s;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(251,188,4,0.40); }

/* Mobile nav toggle (CSS-only) */
.nav-toggle-cb { display: none; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,42,73,0.08);
    box-shadow: 0 8px 20px rgba(0,42,73,0.10);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
  }
  .site-nav li { border-bottom: 1px solid var(--bg-light); }
  .site-nav a { display: block; padding: 14px 4px; font-size: 0.95rem; }
  .site-nav a.is-active::after { display: none; }
  .header-cta { display: none; }
  .nav-toggle-cb:checked ~ .site-nav { max-height: 380px; }
  .nav-toggle-cb:checked ~ .nav-toggle span { background: transparent; }
  .nav-toggle-cb:checked ~ .nav-toggle span::before { transform: rotate(45deg); top: 0; }
  .nav-toggle-cb:checked ~ .nav-toggle span::after { transform: rotate(-45deg); top: 0; }
}

/* ===== Page Hero (sub pages) ===== */
.page-hero {
  background: var(--gradient-primary);
  color: #fff;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 25%, rgba(0,137,172,0.28) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(1.5rem, 4.6vw, 2rem); }
.page-hero p { color: rgba(255,255,255,0.85); margin-top: 12px; font-size: 0.95rem; }
.page-hero .section-label {
  -webkit-text-fill-color: rgba(255,255,255,0.9);
  color: rgba(255,255,255,0.9);
  background: none;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-sub);
  padding: 14px 0 0;
}
.breadcrumb a { color: var(--secondary); }
.breadcrumb span { margin: 0 6px; opacity: 0.6; }

/* ===== Buttons ===== */
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(251,188,4,0.35), 0 0 0 0 rgba(251,188,4,0.45); }
  60% { box-shadow: 0 4px 16px rgba(251,188,4,0.35), 0 0 0 14px rgba(251,188,4,0); }
}
.btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 18px 24px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(251,188,4,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  animation: btn-pulse 2.5s ease-in-out infinite;
}
.btn:hover { animation: none; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(251,188,4,0.45); }
.btn:active { transform: translateY(0); }
.btn-sub {
  font-size: 0.8rem;
  font-weight: 400;
  display: block;
  margin-top: 4px;
  color: var(--primary);
  opacity: 0.7;
}
.btn-outline {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 12px auto 0;
  padding: 15px 24px;
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--secondary);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-outline:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-instagram,
.btn-instagram-light {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 12px auto 0;
  padding: 14px 24px;
  background: linear-gradient(135deg, #FCAF45 0%, #FD1D1D 45%, #833AB4 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(253,29,29,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-instagram:hover,
.btn-instagram-light:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(253,29,29,0.35); }
.btn-note {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 12px auto 0;
  padding: 14px 24px;
  background: #fff;
  color: #41C9B4;
  border: 1.5px solid #41C9B4;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-note:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(65,201,180,0.25); }

/* ===== Cards (cases / courses) ===== */
.case-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.case-card:last-child { margin-bottom: 0; }
.case-tag {
  display: inline-block;
  background: var(--gradient-teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.case-result {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 16px 0;
}
.case-result .before { font-size: 0.85rem; color: var(--text-sub); text-decoration: line-through; }
.case-result .arrow { color: var(--accent); font-size: 1.2rem; font-weight: 700; }
.case-result .after { font-size: 1rem; font-weight: 700; color: var(--primary); }
.case-voice {
  font-size: 0.88rem;
  color: var(--text-sub);
  font-style: italic;
  border-left: 2px solid var(--tertiary);
  padding-left: 12px;
  margin-top: 12px;
}

.course-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.course-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.course-card-left { flex-shrink: 0; text-align: center; min-width: 100px; }
.course-name { font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.course-price {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.course-price-sub { font-size: 0.7rem; color: var(--text-sub); margin-top: 2px; }
.course-desc { font-size: 0.88rem; color: var(--text-sub); line-height: 1.8; padding-top: 4px; }
.course-divider { width: 1px; background: var(--bg-light); align-self: stretch; flex-shrink: 0; }
.course-note { text-align: center; font-size: 0.85rem; color: var(--text-sub); margin-top: 20px; }

/* ===== Worry list ===== */
.worry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 24px;
}
.worry-list li {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 18px 16px 48px;
  position: relative;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.worry-list li::before {
  content: "✓";
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--secondary);
  font-weight: 700;
  font-size: 1rem;
}
.worry-note { text-align: center; font-size: 0.9rem; color: var(--secondary); font-weight: 700; }

/* ===== Consultation steps ===== */
.consult-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.consult-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
.consult-list li .icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--gradient-teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.8rem; font-weight: 700;
  margin-top: 2px;
}
.no-sell {
  background: rgba(0,137,172,0.08);
  border: 1px solid rgba(0,137,172,0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 500;
  text-align: center;
  margin-top: 20px;
}

/* ===== Flow steps (contact) ===== */
.flow-list { list-style: none; counter-reset: flow; margin: 24px 0; }
.flow-list li {
  position: relative;
  padding: 0 0 24px 48px;
  counter-increment: flow;
}
.flow-list li::before {
  content: counter(flow);
  position: absolute;
  left: 0; top: 0;
  width: 32px; height: 32px;
  background: var(--gradient-teal);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
}
.flow-list li::after {
  content: "";
  position: absolute;
  left: 15px; top: 34px; bottom: 4px;
  width: 2px;
  background: rgba(0,137,172,0.20);
}
.flow-list li:last-child { padding-bottom: 0; }
.flow-list li:last-child::after { display: none; }
.flow-title { font-weight: 700; color: var(--primary); font-size: 0.98rem; }
.flow-desc { font-size: 0.9rem; color: var(--text-sub); margin-top: 4px; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.faq-item { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.faq-q { font-weight: 700; color: var(--primary); margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.faq-q::before {
  content: "Q";
  flex-shrink: 0;
  background: linear-gradient(135deg, #002A49 0%, #004a7c 100%);
  color: #fff;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  margin-top: 1px;
}
.faq-a { font-size: 0.92rem; color: var(--text-sub); padding-left: 34px; }

/* ===== Profile ===== */
.profile-inner { display: flex; gap: 24px; align-items: flex-start; }
.profile-photo {
  flex-shrink: 0;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 3px solid var(--tertiary);
  overflow: hidden;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.profile-title { font-size: 0.8rem; color: var(--secondary); margin-bottom: 12px; }
.profile-list { list-style: none; font-size: 0.88rem; color: var(--text-sub); display: flex; flex-direction: column; gap: 6px; }
.profile-list li::before { content: "─ "; color: var(--tertiary); }

/* ===== Info table (legal / 特商法) ===== */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 8px; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--bg-light); }
.info-table th { width: 34%; color: var(--primary); font-weight: 700; background: var(--bg-light); }
.info-table td { color: var(--text-sub); }

/* ===== Prose (legal / privacy) ===== */
.prose h2 { font-size: 1.15rem; margin: 32px 0 12px; }
.prose h3 { margin: 20px 0 8px; }
.prose p, .prose li { font-size: 0.92rem; color: var(--text-sub); }
.prose ul, .prose ol { margin: 8px 0 8px 20px; }
.prose li { margin-bottom: 6px; }
.prose .updated { font-size: 0.82rem; color: var(--text-sub); margin-top: 32px; }

/* ===== Home teaser grid (links to sub pages) ===== */
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.teaser-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.teaser-card:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(0,42,73,0.14); }
.teaser-card h3 { margin-bottom: 8px; }
.teaser-card p { font-size: 0.86rem; color: var(--text-sub); margin-bottom: 14px; }
.teaser-link { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: var(--secondary); }
.teaser-link::after { content: " →"; }

/* ===== Highlight / quote (story) ===== */
.story-body { font-size: 1rem; line-height: 2; }
.story-body .quote {
  border-left: 3px solid var(--secondary);
  padding-left: 16px;
  color: var(--secondary);
  font-weight: 500;
  margin: 24px 0;
  font-size: 1.05rem;
}
.story-body .highlight { background: linear-gradient(transparent 60%, rgba(251,188,4,0.35) 60%); font-weight: 700; }

/* ===== Center CTA section ===== */
.cta-section {
  background: var(--gradient-primary) !important;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(0,137,172,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section .container { position: relative; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(135deg, #002A49 0%, #001530 100%);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 28px;
  font-size: 0.82rem;
}
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; margin-bottom: 32px; }
.footer-brand { max-width: 280px; }
.footer-brand .brand-name { color: #fff; font-size: 1.05rem; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.8rem; margin-top: 8px; }
.footer-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { color: rgba(255,255,255,0.85); font-size: 0.78rem; letter-spacing: 0.06em; margin-bottom: 12px; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.6); }
.footer-legal a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,0.45); font-size: 0.76rem; }

/* ===== Sticky CTA (mobile only) ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  padding: 12px 20px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
  z-index: 150;
}
.sticky-cta .btn { max-width: 100%; font-size: 0.95rem; padding: 16px; margin: 0; }
@media (max-width: 820px) {
  .sticky-cta { display: block; }
}

/* ===== Hero (home) ===== */
#hero {
  background: var(--gradient-primary);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(0,137,172,0.25) 0%, transparent 60%);
  pointer-events: none;
}
#hero .container { text-align: center; position: relative; }
#hero h1 { color: #fff; margin-bottom: 20px; }
#hero h1 span { display: inline-block; background: var(--gradient-accent); color: var(--primary); padding: 2px 10px; border-radius: 4px; }
.hero-sub { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; line-height: 1.8; }
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(0,137,172,0.20));
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.95);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-stat { font-size: 0.82rem; color: rgba(255,255,255,0.8); margin-bottom: 20px; letter-spacing: 0.02em; }
.hero-stat strong { color: #fff; font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .course-card { flex-direction: column; gap: 12px; }
  .course-divider { display: none; }
}
@media (max-width: 480px) {
  main section { padding: 52px 0; }
  .profile-inner { flex-direction: column; align-items: center; text-align: center; }
  .profile-list { text-align: left; }
  .footer-top { flex-direction: column; gap: 24px; }
}
