/* ============================================
   まっちゃんの転職相談室 - 明るいリニューアルCSS
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #FF7043;
  --orange-light: #FF8A65;
  --orange-dark:  #E64A19;
  --yellow:       #FFD54F;
  --yellow-light: #FFF9C4;
  --teal:         #26C6DA;
  --teal-light:   #E0F7FA;
  --green:        #43A047;
  --green-light:  #E8F5E9;
  --sky:          #4FC3F7;
  --purple:       #7C4DFF;
  --white:        #FFFFFF;
  --bg:           #FFFBF7;
  --bg2:          #FFF3E0;
  --text:         #37474F;
  --text-light:   #78909C;
  --dark:         #263238;
  --shadow:       0 4px 20px rgba(255,112,67,0.12);
  --shadow-md:    0 8px 32px rgba(255,112,67,0.18);
  --radius:       20px;
  --radius-sm:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid #FFE0B2;
  box-shadow: 0 2px 16px rgba(255,112,67,0.08);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
}
.logo-icon { font-size: 1.5rem; }

.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a {
  padding: 8px 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.2s;
}
.header-nav a:hover { background: #FFF3E0; color: var(--orange); }
.nav-cta {
  background: var(--orange) !important;
  color: white !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid #FFE0B2;
  padding: 12px 20px 20px;
  gap: 4px;
}
.mobile-menu a {
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.2s;
}
.mobile-menu a:hover { background: #FFF3E0; }
.mobile-cta {
  background: var(--orange) !important;
  color: white !important;
  text-align: center;
  margin-top: 8px;
}
.mobile-menu.open { display: flex; }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(255,112,67,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,112,67,0.5); }
.large-btn { font-size: 1.1rem; padding: 16px 36px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--orange);
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--orange);
  transition: all 0.3s;
}
.btn-secondary:hover { background: var(--orange); color: white; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--orange);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--orange);
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--orange); color: white; }

/* ============ SECTION COMMON ============ */
section { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
}
.center-title { text-align: center; margin-bottom: 32px; }
.section-desc { color: var(--text-light); font-size: 1rem; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E0 50%, #FFECD5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 40px 60px;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,112,67,0.1), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,213,79,0.15), transparent 70%);
  border-radius: 50%;
}

.hero-content { max-width: 560px; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFF3E0, #FFCCBC);
  border: 1.5px solid #FFAB91;
  color: var(--orange-dark);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 16px;
}
.highlight-red { color: var(--orange); }
.hero-sub {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text);
  display: block;
}
.hero-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: white;
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow);
  border: 1px solid #FFE0B2;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}
.stat-num small { font-size: 0.8rem; }
.stat-label { font-size: 0.78rem; color: var(--text-light); }
.stat-divider { width: 1px; height: 36px; background: #FFCCBC; }

/* ヒーロー写真 */
.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}
.hero-photo-bg {
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  border-radius: 50% 45% 50% 45%;
  opacity: 0.15;
  animation: morph 6s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 50% 45% 50% 45%; }
  50% { border-radius: 45% 50% 45% 50%; }
}
.hero-photo {
  width: 280px;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50% 45% 50% 45%;
  border: 5px solid white;
  box-shadow: var(--shadow-md);
  position: relative;
  animation: morph 6s ease-in-out infinite;
}
.hero-photo-badge {
  position: absolute;
  bottom: 10px;
  left: -20px;
  background: white;
  border-radius: 50px;
  padding: 10px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #FFE0B2;
}
.badge-icon { font-size: 1.5rem; }
.hero-photo-badge span { font-size: 0.85rem; line-height: 1.3; color: var(--text); }
.hero-photo-badge strong { color: var(--orange); }
.hero-speech-bubble {
  position: absolute;
  top: 10px;
  right: -20px;
  background: var(--orange);
  color: white;
  padding: 10px 16px;
  border-radius: 20px 20px 0 20px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============ 共感セクション ============ */
.empathy-section { background: white; }

.worry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.worry-card {
  background: linear-gradient(135deg, #FFF8F0, #FFF3E0);
  border: 2px solid #FFCCBC;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.worry-card.visible { opacity: 1; transform: translateY(0); }
.worry-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(255,112,67,0.15);
  transform: translateY(-4px);
}
.worry-icon { font-size: 2.5rem; margin-bottom: 12px; }
.worry-card p { font-size: 0.95rem; line-height: 1.7; }

.empathy-comment {
  background: linear-gradient(135deg, #FFF8F0, #FFF3E0);
  border: 2px solid #FFCCBC;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.comment-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid white;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.comment-bubble-box { flex: 1; }
.comment-name {
  font-weight: 800;
  color: var(--orange-dark);
  margin-bottom: 8px;
  font-size: 1rem;
}
.comment-name span {
  background: var(--orange);
  color: white;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  margin-left: 8px;
}
.comment-bubble-box p { font-size: 0.95rem; line-height: 1.9; }

/* ============ 漫画セクション ============ */
.manga-section { background: var(--bg); }

.manga-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.manga-episode {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid #FFE0B2;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.manga-episode.visible { opacity: 1; transform: translateY(0); }
.manga-episode:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.episode-header {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ep-num {
  background: rgba(255,255,255,0.25);
  color: white;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}
.ep-title {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

.episode-finale .episode-header {
  background: linear-gradient(135deg, #FDD835, #FFB300);
}

.finale-header { background: linear-gradient(135deg, #43A047, #66BB6A) !important; }
.finale-num { background: rgba(255,255,255,0.3) !important; }

.episode-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f5;
}
.episode-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.manga-episode:hover .episode-img { transform: scale(1.03); }

.episode-desc {
  padding: 14px 18px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text);
  border-top: 1px solid #FFF3E0;
  background: #FFFBF7;
}
.finale-desc { background: #F1F8E9; border-top: 1px solid #DCEDC8; }

/* 強み解説ボックス */
.strength-box {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 2px solid #FFE0B2;
  margin-bottom: 40px;
}
.strength-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px dashed #FFCCBC;
}
.strength-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--orange);
}
.strength-label {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 700;
  background: #FFF3E0;
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
  display: inline-block;
}
.strength-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
}
.strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.strength-item {
  background: linear-gradient(135deg, #FFF8F0, #FFF3E0);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1.5px solid #FFCCBC;
  position: relative;
}
.strength-num {
  position: absolute;
  top: -10px; left: 14px;
  background: var(--orange);
  color: white;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
}
.strength-icon { font-size: 1.8rem; margin-bottom: 8px; margin-top: 10px; }
.strength-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; color: var(--dark); }
.strength-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }

.manga-cta { text-align: center; }
.manga-cta p { font-size: 1.05rem; margin-bottom: 20px; }
.manga-cta strong { color: var(--orange); }

/* ============ まっちゃん紹介 ============ */
.about-section { background: white; }

.about-card {
  display: flex;
  gap: 40px;
  background: linear-gradient(135deg, #FFF8F0, #FFF3E0);
  border-radius: 24px;
  padding: 40px;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
  border: 2px solid #FFCCBC;
}
.about-photo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 160px;
}
.about-photo {
  width: 150px; height: 160px;
  border-radius: 50% 45% 50% 45%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--orange);
  box-shadow: 0 8px 24px rgba(255,112,67,0.25);
}
.about-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
}
.about-title {
  background: var(--orange);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}
.note-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1.5px solid #FFCCBC;
  color: var(--orange-dark);
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.note-link:hover { background: var(--orange); color: white; border-color: var(--orange); }

.about-content { flex: 1; }
.about-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange-dark);
  background: #FFF3E0;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 16px;
}
.career-list { list-style: none; margin-bottom: 28px; }
.career-list li {
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px dashed #FFCCBC;
  line-height: 1.6;
  color: var(--text);
}
.about-message blockquote {
  background: white;
  border-left: 4px solid var(--orange);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(255,112,67,0.08);
}
.about-message blockquote footer {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 12px;
}
.about-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ エージェントセクション ============ */
.agents-section { background: var(--bg2); }

.matcha-pickup-comment {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  border-left: 5px solid var(--orange);
  box-shadow: var(--shadow);
}
.pickup-photo {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--orange);
  flex-shrink: 0;
}
.pickup-text { font-size: 0.95rem; line-height: 1.8; }

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.agent-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid #FFE0B2;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.agent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255,112,67,0.2);
  border-color: var(--orange);
}
.agent-card.featured { border-color: var(--orange); border-width: 3px; }
.agent-badge-top {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}
.agent-card:not(.featured) .agent-badge-top {
  background: linear-gradient(135deg, var(--teal), #80DEEA);
  color: var(--dark);
}
.agent-header {
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.agent-logo-icon {
  width: 55px; height: 55px;
  background: linear-gradient(135deg, #FFF3E0, #FFCCBC);
  border-radius: 14px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFAB91;
}
.agent-name { display: block; font-family: 'Noto Sans JP', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.agent-company { display: block; font-size: 0.75rem; color: var(--text-light); }

.agent-body { padding: 16px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.agent-catchcopy {
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 12px 0;
  border-bottom: 1px dashed #FFCCBC;
  margin-bottom: 14px;
  color: var(--text);
}
.agent-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.6;
}
.feat-icon { flex-shrink: 0; }

.matcha-agent-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFF8F0;
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 20px;
  border-left: 3px solid var(--orange);
  flex: 1;
}
.comment-thumb {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2px solid var(--orange);
}
.matcha-agent-comment p { font-size: 0.85rem; line-height: 1.7; }

.agent-cta-area { margin-top: auto; }
.agent-cta-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(255,112,67,0.35);
}
.agent-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,112,67,0.4); }
.green-btn {
  background: linear-gradient(135deg, var(--green), #66BB6A) !important;
  box-shadow: 0 4px 14px rgba(67,160,71,0.3) !important;
}
.green-btn:hover { box-shadow: 0 8px 20px rgba(67,160,71,0.4) !important; }

.agents-note {
  background: #FFFDE7;
  border: 1.5px solid #FFD54F;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
}

/* ============ 転職の流れ ============ */
.flow-section { background: white; }

.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.flow-step {
  background: linear-gradient(135deg, #FFF8F0, #FFF3E0);
  border: 2px solid #FFCCBC;
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  transition: all 0.3s;
}
.flow-step:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.highlight-step {
  background: linear-gradient(135deg, #F1F8E9, #DCEDC8) !important;
  border-color: var(--green) !important;
  border-width: 3px !important;
}
.step-num {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--orange);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}
.highlight-step .step-num { background: var(--green); }
.step-icon { font-size: 2rem; margin-bottom: 8px; }
.step-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--dark); }
.flow-step p { font-size: 0.78rem; color: var(--text-light); line-height: 1.6; }
.flow-arrow { font-size: 1.6rem; color: var(--orange); font-weight: 900; margin-top: 50px; flex-shrink: 0; }

/* ============ 相談セクション ============ */
.consult-section {
  background: linear-gradient(135deg, #FF7043 0%, #FF5722 40%, #F4511E 100%);
  padding: 80px 0;
}
.consult-card {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}
.consult-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.consult-photo {
  width: 160px; height: 170px;
  border-radius: 50% 45% 50% 45%;
  object-fit: cover;
  object-position: top center;
  border: 5px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  animation: morph 6s ease-in-out infinite;
}
.consult-photo-badge {
  background: rgba(255,255,255,0.25);
  color: white;
  padding: 6px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}
.consult-content { flex: 1; min-width: 280px; }
.white-badge { background: rgba(255,255,255,0.2) !important; }
.consult-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.3;
  margin-bottom: 16px;
}
.highlight-yellow { color: var(--yellow); }
.consult-desc { color: rgba(255,255,255,0.92); font-size: 0.95rem; line-height: 1.9; margin-bottom: 24px; }
.consult-features { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.cf-item {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}
.btn-consult {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--dark);
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(255,213,79,0.4);
  animation: pulse 2.5s ease-in-out infinite;
}
.btn-consult:hover { background: #FFE082; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,213,79,0.5); }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.consult-sub { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 12px; }

/* ============ FAQ ============ */
.faq-section { background: var(--bg); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(255,112,67,0.07);
  border: 1.5px solid #FFE0B2;
}
.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s;
}
.faq-question:hover { background: #FFF8F0; }
.faq-icon { font-size: 1.4rem; font-weight: 300; color: var(--orange); transition: transform 0.3s; flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer.open { max-height: 300px; }
.faq-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 24px 20px;
}
.faq-photo {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--orange);
  flex-shrink: 0;
}
.faq-matcha {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.faq-matcha span { font-size: 0.72rem; font-weight: 700; color: var(--orange); }
.faq-inner p { font-size: 0.9rem; line-height: 1.9; color: var(--text); }

/* ============ 最終CTA ============ */
.final-cta-section {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E0 50%, #FFE0B2 100%);
  padding: 80px 0;
  text-align: center;
}
.final-cta-content { max-width: 600px; margin: 0 auto; }
.final-photo {
  width: 110px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--orange);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}
.final-cta-section h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
}
.highlight-yellow { color: var(--orange); }
.final-cta-section p { color: var(--text-light); font-size: 1rem; margin-bottom: 32px; }
.final-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--orange);
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--orange);
  transition: all 0.3s;
}
.btn-white:hover { background: var(--orange); color: white; transform: translateY(-2px); }
.btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(255,112,67,0.4);
}
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,112,67,0.5); }

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}
.footer-photo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--orange);
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.8; max-width: 700px; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ============ アニメーション ============ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ レスポンシブ ============ */
@media (max-width: 960px) {
  .hero { flex-direction: column; text-align: center; padding: 90px 24px 60px; gap: 40px; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-photo { width: 220px; height: 250px; }
  .hero-photo-badge { left: -10px; bottom: -10px; }
  .hero-speech-bubble { right: -10px; top: -10px; }
  .about-card { flex-direction: column; align-items: center; }
  .about-content { width: 100%; }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); margin: 0; }
  .flow-step { max-width: 280px; width: 100%; }
}

@media (max-width: 700px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  section { padding: 60px 0; }
  .manga-strip { grid-template-columns: 1fr; }
  .consult-card { flex-direction: column; text-align: center; }
  .consult-features { justify-content: center; }
  .agents-grid { grid-template-columns: 1fr; }
  .empathy-comment { flex-direction: column; align-items: center; text-align: center; }
  .strength-grid { grid-template-columns: 1fr; }
  .about-card { padding: 24px 20px; }
  .matcha-pickup-comment { flex-direction: column; align-items: flex-start; }
  .hero-photo-wrap { order: -1; }
}
