/* ====== カラーパレット ====== */
:root {
  --color-main: #1E3A5F;
  --color-sub: #E8F4F8;
  --color-accent: #00C896;
  --color-bg: #101624;
  --color-bg-light: #232b3a;
  --color-text: #e8f4f8;
  --color-card: #18223a;
  --color-border: #2c3e50;
  --color-skillbar: #00C896;
  --color-timeline: #00C896;
  --color-shadow: rgba(0,0,0,0.2);
  --font-mono: 'Fira Mono', 'Menlo', 'Consolas', monospace;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ====== パーティクル背景 ====== */
#particles-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(120deg, var(--color-main) 0%, var(--color-bg) 100%);
}

/* ====== ヘッダー ====== */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(16,22,36,0.95);
  box-shadow: 0 2px 8px var(--color-shadow);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
}
.profile-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  margin-right: 2rem;
  box-shadow: 0 0 0 4px var(--color-bg-light);
  background: var(--color-bg-light);
}
.header-info {
  flex: 1;
}
.name {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin: 0 0 0.2em 0;
}
.title {
  font-size: 1.1rem;
  color: var(--color-sub);
  margin-left: 0.5em;
  font-weight: 400;
}
.nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s;
  position: relative;
}
.nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s;
  position: absolute;
  left: 0; bottom: -2px;
}
.nav a:hover {
  color: var(--color-accent);
}
.nav a:hover::after {
  width: 100%;
}

/* ====== セクション ====== */
.section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2.5rem 2rem;
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--color-shadow);
  position: relative;
  z-index: 1;
}
.section h2 {
  font-size: 2rem;
  color: var(--color-accent);
  border-left: 6px solid var(--color-accent);
  padding-left: 0.7em;
  margin-bottom: 1.5em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ====== アバウト ====== */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}
.about-text {
  flex: 2;
  min-width: 260px;
}
.about-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 0 8px var(--color-bg-light);
  background: var(--color-bg-light);
}
.typing {
  font-size: 1.2rem;
  color: var(--color-sub);
  margin-bottom: 1.2em;
  min-height: 2.5em;
  font-family: var(--font-mono);
  white-space: pre-line;
}

/* ====== スキル ====== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.skill-card {
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-left: 5px solid var(--color-accent);
  margin-bottom: 1.2rem;
}
.skill-card h3 {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 1em;
  font-weight: 700;
}
.skill-bar {
  position: relative;
  background: var(--color-border);
  border-radius: 8px;
  height: 28px;
  margin-bottom: 0.7em;
  overflow: hidden;
  box-shadow: 0 1px 4px var(--color-shadow);
}
.skill-bar span {
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text);
  font-size: 1rem;
  z-index: 2;
}
.skill-bar::before {
  content: '';
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-skillbar), #1E3A5F 90%);
  border-radius: 8px;
  transition: width 1.2s cubic-bezier(.77,0,.18,1);
  z-index: 1;
  position: absolute;
  left: 0; top: 0;
}
.skill-bar.animated::before {
  width: calc(var(--level) * 10%);
}

/* ====== 実績・成果 ====== */
.works-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.work-card {
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-left: 5px solid var(--color-accent);
  margin-bottom: 1.2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.work-card:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px var(--color-shadow);
  border-left: 5px solid var(--color-main);
}
.work-card h3 {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-bottom: 0.7em;
}

/* ====== タイムライン ====== */
.timeline {
  border-left: 4px solid var(--color-timeline);
  margin-left: 1.5em;
  padding-left: 1.5em;
  position: relative;
}
.timeline-item {
  position: relative;
  margin-bottom: 2.2em;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.7em;
  top: 0.2em;
  width: 1.1em;
  height: 1.1em;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--color-bg-light);
}
.timeline-date {
  font-size: 1.1rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.2em;
}
.timeline-content {
  font-size: 1rem;
  color: var(--color-text);
}

/* ====== お問い合わせ ====== */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  margin-bottom: 1.2em;
}
.contact-btn {
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.7em 1.5em;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: center;
  letter-spacing: 0.02em;
}
.contact-btn span, .contact-btn i {
  color: #fff !important;
}
.contact-btn:hover {
  background: var(--color-main);
  transform: scale(1.05);
}
.contact-links a {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
  transition: color 0.2s;
}
.contact-links a:hover {
  color: var(--color-sub);
}
.contact-info {
  font-size: 1rem;
  color: var(--color-sub);
}

/* ====== フッター ====== */
.footer {
  background: var(--color-bg-light);
  color: var(--color-sub);
  text-align: center;
  padding: 1.2em 0;
  font-size: 1rem;
  border-top: 1px solid var(--color-border);
  margin-top: 3em;
}

/* ====== アニメーション ====== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.77,0,.18,1), transform 0.8s cubic-bezier(.77,0,.18,1);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ====== コードスニペット風装飾 ====== */
.skill-card, .work-card {
  font-family: var(--font-mono);
  border-radius: 12px;
  border-left: 5px solid var(--color-accent);
  background: linear-gradient(120deg, var(--color-bg-light) 80%, var(--color-main) 100%);
  box-shadow: 0 2px 12px var(--color-shadow);
}

/* ====== ターミナル風 ====== */
.section {
  box-shadow: 0 4px 24px var(--color-shadow), 0 0 0 2px var(--color-main) inset;
  border-radius: 18px 18px 12px 12px;
  border-top: 6px solid var(--color-main);
}

/* ====== 回路基板風グリッド ====== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 40px), repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 40px);
}

/* ====== レスポンシブ ====== */
@media (max-width: 900px) {
  .header-inner, .section {
    padding: 1.2rem 1rem;
  }
  .about-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-photo img {
    margin-top: 1.5em;
  }
}
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }
  .profile-img {
    margin-right: 0;
    margin-bottom: 1em;
  }
  .skills-grid, .works-cards {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 1.2rem 0.5rem;
  }
}

/* ====== ダークモード自動対応 ====== */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #101624;
    --color-bg-light: #232b3a;
    --color-text: #e8f4f8;
    --color-card: #18223a;
    --color-border: #2c3e50;
  }
}

/* ====== Worksアコーディオン ====== */
.work-toggle {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
  margin: 0 0 0.5em 0;
  transition: background 0.2s;
}
.work-toggle:focus {
  box-shadow: 0 0 0 2px var(--color-accent);
  background: rgba(0,200,150,0.08);
  border-radius: 8px;
}
.work-toggle h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-accent);
  font-weight: 700;
}
.toggle-icon {
  font-size: 1.5em;
  color: var(--color-sub);
  margin-left: 1em;
  transition: transform 0.3s;
}
.work-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(45deg);
}
.work-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(.77,0,.18,1), opacity 0.4s cubic-bezier(.77,0,.18,1);
  background: rgba(30,58,95,0.08);
  border-radius: 8px;
  margin-bottom: 0.5em;
  padding: 0 0.5em;
}
.work-detail[aria-hidden="false"],
.work-detail:not([hidden]) {
  max-height: 600px;
  opacity: 1;
  padding: 1em 0.5em 1em 0.5em;
  margin-bottom: 1em;
}
.work-detail ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.98em;
  color: var(--color-text);
}
.work-detail li {
  margin-bottom: 0.4em;
  line-height: 1.6;
}

/* ====== Contactフォーム ====== */
.contact-content {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  margin-bottom: 1.2em;
}
.form-group {
  width: 100%;
}
#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: none;
  border-radius: 8px;
  background: var(--color-bg-light);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 1.05em;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 0.2em;
  transition: box-shadow 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}
#contact-form input:focus,
#contact-form textarea:focus {
  box-shadow: 0 0 0 2px var(--color-accent), 0 2px 8px var(--color-shadow);
  background: #22304a;
}
#contact-form textarea {
  min-height: 100px;
  max-height: 260px;
}
#contact-form select {
  width: 100%;
  padding: 0.8em 1em;
  border: none;
  border-radius: 8px;
  background: var(--color-bg-light);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 1.05em;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 0.2em;
  transition: box-shadow 0.2s, background 0.2s;
  outline: none;
}
#contact-form select:focus {
  box-shadow: 0 0 0 2px var(--color-accent), 0 2px 8px var(--color-shadow);
  background: #22304a;
}
.contact-btn {
  width: 100%;
  padding: 0.9em 0;
  font-size: 1.15em;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--color-accent) 60%, #1E3A5F 100%);
  color: #fff !important;
  box-shadow: 0 4px 16px var(--color-shadow);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 0.5em;
  letter-spacing: 0.04em;
  display: block;
}
.contact-btn:hover, .contact-btn:focus {
  background: linear-gradient(90deg, #1E3A5F 0%, var(--color-accent) 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px var(--color-shadow);
}
.form-message {
  text-align: center;
  padding: 1.2em 0.5em;
  border-radius: 10px;
  background: rgba(30,58,95,0.12);
  color: var(--color-text);
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 0.5em;
}
.success-message .message-icon {
  font-size: 2em;
  color: var(--color-accent);
  margin-bottom: 0.3em;
}
.error-message .message-icon {
  font-size: 2em;
  color: #f55;
  margin-bottom: 0.3em;
}
@media (max-width: 600px) {
  .contact-content {
    max-width: 98vw;
    padding: 0 0.5em;
  }
}

/* ====== サービス紹介セクション ====== */
.services-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5em;
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-bg-light);
  border-radius: 14px;
  box-shadow: 0 4px 24px var(--color-shadow);
  border-left: 5px solid var(--color-accent);
  padding: 2em 1.5em 1.5em 1.5em;
  min-width: 260px;
  max-width: 340px;
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  margin-bottom: 1.2em;
  position: relative;
}
.service-card h3 {
  color: var(--color-accent);
  font-size: 1.2em;
  margin-bottom: 0.7em;
  font-weight: 700;
}
.service-card p {
  font-size: 1em;
  color: var(--color-sub);
  margin-bottom: 1.2em;
}
.service-link {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1em;
  margin-top: auto;
  text-align: right;
  display: block;
  transition: color 0.2s;
}
.service-card:hover, .service-card:focus {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px var(--color-shadow);
  border-left: 5px solid var(--color-main);
  text-decoration: none;
}
.service-card:hover .service-link, .service-card:focus .service-link {
  color: #fff;
}
@media (max-width: 900px) {
  .services-list {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .service-card {
    min-width: 0;
    width: 100%;
    max-width: 98vw;
  }
}

/* ====== サービス詳細ページのテキスト色強制 ====== */
.section, .section h3, .section p, .section ul, .section li {
  color: var(--color-text);
}
.section h2, .accent {
  color: var(--color-accent);
}

/* ====== パンくずリスト ====== */
.breadcrumb {
  font-size: 1.25em;
  margin-bottom: 1.2em;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.breadcrumb a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--color-sub);
  text-decoration: underline wavy;
}

/* ====== Careerタイムライン・アコーディオン ====== */
.career-toggle {
  width: 100%;
  background: var(--color-bg-light);
  color: var(--color-accent);
  border: none;
  border-radius: 10px 10px 0 0;
  font-family: var(--font-mono);
  font-size: 1.1em;
  font-weight: 700;
  text-align: left;
  padding: 1.1em 1.2em;
  margin-bottom: 0;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 8px var(--color-shadow);
  display: flex;
  align-items: center;
  gap: 1.2em;
  transition: background 0.2s, color 0.2s;
}
.career-toggle[aria-expanded="true"] {
  background: var(--color-accent);
  color: #fff;
}
.career-toggle:focus {
  box-shadow: 0 0 0 2px var(--color-accent), 0 2px 8px var(--color-shadow);
}
.career-toggle .timeline-date {
  font-size: 1em;
  color: inherit;
  min-width: 140px;
  font-weight: 600;
}
.career-toggle .timeline-title {
  font-size: 1.1em;
  color: inherit;
  font-weight: 700;
}
.career-detail {
  background: var(--color-card);
  border-radius: 0 0 12px 12px;
  margin-bottom: 2em;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 1.5em 1.2em 1.2em 1.2em;
  animation: fadeInCareer 0.5s;
}
@keyframes fadeInCareer {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .career-toggle, .career-detail {
    padding: 1em 0.7em;
    font-size: 1em;
  }
  .career-toggle .timeline-date {
    min-width: 90px;
    font-size: 0.98em;
  }
} 

/* ====== メンタリングページ専用スタイル ====== */

/* ヒーローセクション */
.hero-section {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-bg) 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%2300C896" opacity="0.1"/></svg>') repeat;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--color-sub);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-bg) !important;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 200, 150, 0.3);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 200, 150, 0.4);
  background: #00e6a8;
}

/* ストーリーセクション */
.story-section {
  background: var(--color-bg-light);
  border-radius: 18px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
}

.story-timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-accent);
  transform: translateX(-50%);
}

.story-item {
  position: relative;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.story-item:nth-child(odd) {
  text-align: right;
}

.story-item:nth-child(even) {
  text-align: left;
}

.story-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 1rem;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--color-bg-light);
}

.story-content {
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px var(--color-shadow);
  max-width: 340px;
  margin: 0 auto;
}

.story-item:nth-child(odd) .story-content {
  margin-left: auto;
}

.story-item:nth-child(even) .story-content {
  margin-right: auto;
}

/* 課題カード */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.problem-card {
  background: var(--color-card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--color-shadow);
  border-left: 5px solid var(--color-accent);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #00e6a8);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--color-shadow);
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.problem-card h4 {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* 強みセクション */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.strength-card {
  background: var(--color-card);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.strength-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.strength-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.strength-card h4 {
  color: var(--color-accent);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* 実績セクション */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.stat-card {
  background: var(--color-card);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--color-shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-sub);
  font-size: 1rem;
}

/* テストモニアル */
.testimonials {
  margin: 3rem 0;
}

.testimonial-card {
  background: var(--color-card);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px var(--color-shadow);
  border-left: 5px solid var(--color-accent);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  color: var(--color-accent);
  font-weight: 700;
}

/* アコーディオン */
.faq-section {
  margin: 3rem 0;
}

.faq-item {
  background: var(--color-card);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--color-shadow);
}

.faq-question {
  background: var(--color-bg-light);
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--color-main);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem 2rem;
  max-height: 200px;
}

/* フローセクション */
.flow-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  z-index: 1;
}

.flow-step {
  background: var(--color-card);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-accent);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px var(--color-shadow);
  border: 3px solid var(--color-accent);
}

.flow-step-content {
  text-align: center;
  margin-top: 1rem;
}

.flow-step-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.flow-step-title {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: var(--color-sub);
}

/* 最終CTA */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-bg) 100%);
  border-radius: 18px;
  padding: 3rem 2rem;
  margin: 3rem 0;
  position: relative;
  z-index: 2;
}

.final-cta h3 {
  color: var(--color-accent);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.final-cta p {
  color: var(--color-sub);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 200, 150, 0.3);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 200, 150, 0.4);
  background: #00e6a8;
}

.cta-secondary {
  background: var(--color-bg-light);
  color: var(--color-accent) !important;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--color-accent);
}

.cta-secondary:hover {
  background: var(--color-accent);
  color: var(--color-bg) !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .story-timeline::before {
    left: 20px;
  }
  
  .story-item {
    text-align: left !important;
    padding-left: 60px;
  }
  
  .story-item::before {
    left: 20px;
  }
  
  .story-content {
    margin: 0 !important;
    max-width: none;
  }
  
  .flow-steps {
    flex-direction: column;
    gap: 2rem;
  }
  
  .flow-steps::before {
    display: none;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
} 

/* PMページ課題ブリッジ用グリッド */
.problems-bridge-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2.5rem 0;
}
.problems-bridge-arrow {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.problems-bridge-arrow .arrow-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
  .problems-bridge-grid {
    grid-template-columns: 1fr;
  }
  .problems-bridge-arrow {
    order: 2;
    margin: 2rem 0;
  }
}

/* ===== 404ページ専用スタイル ===== */
.error-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

.error-icon {
  font-size: 8rem;
  margin-bottom: 2rem;
  color: #ff6b6b;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.error-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-weight: 700;
}

.error-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.error-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--color-sub);
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.error-actions .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-bg);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.error-actions .contact-btn:hover {
  background: #00b386;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 200, 150, 0.3);
}

.error-actions .contact-btn:nth-child(2) {
  background: #4ecdc4;
}

.error-actions .contact-btn:nth-child(2):hover {
  background: #45b7af;
}

.suggested-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.suggested-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.suggested-links > div {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.suggested-link {
  padding: 0.5rem 1rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.suggested-link:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

/* 404ページのレスポンシブ対応 */
@media (max-width: 600px) {
  .error-content {
    padding: 1rem;
  }
  
  .error-icon {
    font-size: 6rem;
  }
  
  .error-content h1 {
    font-size: 2.5rem;
  }
  
  .error-content h2 {
    font-size: 1.3rem;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-actions .contact-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .suggested-links > div {
    flex-direction: column;
    align-items: center;
  }
  
  .suggested-link {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }
} 