/* ============================================
   Kae Smart Works - Main Stylesheet v2
   華やかで見やすいデザイン
   ターゲット: 40〜80代
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #3B6FD4;
  --color-primary-dark: #2A52A0;
  --color-primary-light: #EBF2FF;
  --color-primary-glow: rgba(59, 111, 212, 0.15);

  --color-accent: #F59E0B;
  --color-accent-hover: #D97706;
  --color-accent-light: #FFF8EB;
  --color-accent-glow: rgba(245, 158, 11, 0.2);

  --color-green: #10B981;
  --color-green-light: #ECFDF5;
  --color-rose: #F43F5E;
  --color-rose-light: #FFF1F2;
  --color-purple: #8B5CF6;
  --color-purple-light: #F5F3FF;

  --color-text: #2D3748;
  --color-text-light: #718096;
  --color-heading: #1A202C;
  --color-bg: #F7FAFD;
  --color-bg-warm: #FFFBF5;
  --color-bg-white: #FFFFFF;
  --color-bg-section: #F0F5FF;
  --color-bg-soft-green: #F0FDF9;
  --color-bg-soft-purple: #FAF5FF;
  --color-border: #E2E8F0;

  --font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-size-base: 18px;
  --font-size-sm: 16px;
  --font-size-lg: 20px;
  --font-size-xl: 24px;
  --font-size-2xl: 32px;
  --font-size-3xl: 42px;
  --font-size-4xl: 52px;

  --line-height: 1.9;
  --letter-spacing: 0.03em;

  --max-width: 1120px;
  --header-height: 80px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 8px 30px rgba(59, 111, 212, 0.15);
  --shadow-accent: 0 8px 30px rgba(245, 158, 11, 0.3);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  color: var(--color-heading);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
  margin-bottom: 1em;
}

strong {
  color: var(--color-heading);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section--alt {
  background-color: var(--color-bg-section);
}

.section--warm {
  background-color: var(--color-bg-warm);
}

.section--white {
  background-color: var(--color-bg-white);
}

.section--green {
  background-color: var(--color-bg-soft-green);
}

.section--purple {
  background-color: var(--color-bg-soft-purple);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: var(--color-primary-light);
  padding: 6px 18px;
  border-radius: var(--radius-full);
}

.section__title {
  font-size: var(--font-size-2xl);
  margin-bottom: 20px;
  position: relative;
}

.section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  margin: 20px auto 0;
}

.section__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 680px;
  margin: 0 auto;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo img {
  height: 48px;
  width: auto;
}

.header__logo span {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--color-primary);
}

/* --- Navigation --- */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 10px;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.nav__link--active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Mobile Navigation --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  padding: 30px 28px;
  overflow-y: auto;
}

.mobile-nav--open {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeIn 0.25s ease;
}

.mobile-nav__link {
  display: block;
  padding: 18px 24px;
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.mobile-nav__link:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* ==========================================
   BUTTONS — 目立つデザイン
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  font-size: var(--font-size-base);
  font-weight: 700;
  font-family: var(--font-family);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
  min-height: 60px;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, #F59E0B 0%, #F97316 50%, #EF4444 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-accent);
  font-size: var(--font-size-lg);
}

.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
  color: #FFFFFF;
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--secondary {
  background: var(--color-bg-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--small {
  padding: 12px 28px;
  font-size: var(--font-size-sm);
  min-height: 48px;
}

.btn--header {
  padding: 10px 24px;
  font-size: 14px;
  min-height: 44px;
  background: linear-gradient(135deg, #F59E0B, #F97316);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn--header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
  color: #FFFFFF;
}

/* Pulse animation for primary CTA */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.btn--pulse {
  animation: pulse-ring 2s infinite;
}

/* ==========================================
   HERO SECTION — 華やかなヒーロー
   ========================================== */
.hero {
  position: relative;
  padding: 140px 0 110px;
  background: linear-gradient(160deg, #EBF2FF 0%, #FFFBF5 40%, #F0FDF9 70%, #EBF2FF 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.hero__content {
  flex: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary-light), #DBEAFE);
  color: var(--color-primary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(59, 111, 212, 0.15);
}

.hero__title {
  font-size: var(--font-size-3xl);
  line-height: 1.3;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-primary), #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.8;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__note {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-top: 16px;
}

.hero__image {
  flex: 0 0 340px;
  text-align: center;
  position: relative;
}

.hero__image img {
  max-width: 340px;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
  animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ==========================================
   PAIN POINTS — アイコン付きカード
   ========================================== */
.pain-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.pain-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-card__icon {
  font-size: 52px;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}

.pain-card__text {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.7;
}

/* ==========================================
   CARDS — カード型デザイン
   ========================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card:hover::after {
  opacity: 1;
}

.card__body {
  padding: 36px 32px;
}

.card__icon {
  font-size: 52px;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}

.card__title {
  font-size: var(--font-size-xl);
  margin-bottom: 14px;
}

.card__text {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* colored icon bg circles */
.card__icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.card__icon-wrap--blue { background: var(--color-primary-light); }
.card__icon-wrap--orange { background: var(--color-accent-light); }
.card__icon-wrap--green { background: var(--color-green-light); }
.card__icon-wrap--purple { background: var(--color-purple-light); }
.card__icon-wrap--rose { background: var(--color-rose-light); }

/* ==========================================
   TESTIMONIAL CARDS
   ========================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 72px;
  color: var(--color-primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card__text {
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  margin-bottom: 24px;
  padding-top: 24px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--color-heading);
}

.testimonial-card__role {
  font-size: 14px;
  color: var(--color-text-light);
}

/* ==========================================
   REASON LIST — 番号付きリスト
   ========================================== */
.reason-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.reason-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.reason-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.reason-item__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), #6366F1);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(59, 111, 212, 0.3);
}

.reason-item__content h3 {
  margin-bottom: 10px;
  font-size: var(--font-size-xl);
}

.reason-item__content p {
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.8;
}

/* ==========================================
   STEPS — フロー表示
   ========================================== */
.steps {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  position: relative;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step__number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary), #6366F1);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(59, 111, 212, 0.3);
}

.step__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-heading);
}

.step__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

.step__arrow {
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--color-primary);
  font-weight: 700;
  z-index: 1;
}

/* ==========================================
   CTA SECTION — 華やかなCTA
   ========================================== */
.cta-section {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, #3B6FD4 0%, #6366F1 40%, #8B5CF6 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  color: #FFFFFF;
  font-size: var(--font-size-2xl);
  margin-bottom: 20px;
}

.cta-section__title::after {
  display: none;
}

.cta-section__text {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn--primary {
  background: linear-gradient(135deg, var(--color-accent), #F97316);
  font-size: var(--font-size-lg);
  padding: 22px 52px;
  min-height: 68px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-section .btn--primary:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cta-section__note {
  font-size: var(--font-size-sm);
  opacity: 0.8;
  margin-top: 20px;
}

/* ==========================================
   STORY / HIGHLIGHT
   ========================================== */
.story__highlight {
  background: linear-gradient(135deg, var(--color-accent-light), #FFF3E0);
  border-left: 5px solid var(--color-accent);
  padding: 28px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}

.story__highlight p {
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.8;
}

/* ==========================================
   SERVICE PREVIEW CARDS
   ========================================== */
.service-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 780px;
  margin: 0 auto;
}

.service-preview-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.service-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-preview-card__icon {
  font-size: 64px;
  margin-bottom: 24px;
  display: block;
  line-height: 1;
}

.service-preview-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: 16px;
}

.service-preview-card__quote {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 20px;
  font-style: italic;
}

.service-preview-card__text {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
  line-height: 1.8;
}

.service-preview-card__note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

/* ==========================================
   PROFILE SECTION
   ========================================== */
.profile-hero {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.profile-hero__image {
  flex: 0 0 280px;
}

.profile-hero__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.profile-hero__content {
  flex: 1;
}

.profile-hero__name {
  font-size: var(--font-size-2xl);
  margin-bottom: 10px;
}

.profile-hero__role {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 28px;
}

/* ==========================================
   BOOK CARDS
   ========================================== */
.book-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
  transition: all var(--transition);
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.book-card__image {
  flex: 0 0 200px;
}

.book-card__image img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.book-card__content {
  flex: 1;
}

.book-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: 16px;
  line-height: 1.5;
}

.book-card__text {
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: var(--font-size-base);
}

.form-group label .required {
  color: var(--color-rose);
  font-size: 14px;
  margin-left: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--color-bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: linear-gradient(160deg, #1A202C 0%, #2D3748 100%);
  color: #FFFFFF;
  padding: 70px 0 30px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo img {
  height: 40px;
  width: auto;
}

.footer__logo span {
  font-size: var(--font-size-base);
  font-weight: 800;
  color: #FFFFFF;
}

.footer__description {
  font-size: var(--font-size-sm);
  opacity: 0.65;
  line-height: 1.7;
}

.footer__heading {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--font-size-sm);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #FFFFFF;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  opacity: 0.5;
}

/* ==========================================
   PAGE HEADER
   ========================================== */
.page-header {
  padding: 130px 0 70px;
  background: linear-gradient(160deg, #EBF2FF 0%, #FFFBF5 50%, #F0FDF9 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header__title {
  font-size: var(--font-size-3xl);
  margin-bottom: 16px;
  position: relative;
}

.page-header__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  position: relative;
}

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb {
  padding: 120px 0 20px;
  font-size: var(--font-size-sm);
}

.breadcrumb a { color: var(--color-text-light); }
.breadcrumb span { color: var(--color-text-light); margin: 0 8px; }

/* ==========================================
   UTILITY
   ========================================== */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-light { color: var(--color-text-light); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ==========================================
   ANIMATIONS — スクロールフェードイン
   ========================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left--visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right--visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in--visible {
  opacity: 1;
  transform: scale(1);
}

/* stagger delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  :root {
    --font-size-3xl: 32px;
    --font-size-2xl: 26px;
    --font-size-xl: 21px;
  }

  .section { padding: 70px 0; }

  .nav { display: none; }
  .hamburger { display: flex; }

  .hero {
    padding: 120px 0 70px;
  }

  .hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta { justify-content: center; }
  .hero__image { flex: none; }

  .hero__image img {
    max-width: 240px;
    margin: 0 auto;
  }

  .profile-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-hero__image {
    flex: none;
    max-width: 220px;
  }

  .book-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }

  .book-card__image {
    flex: none;
    max-width: 180px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .step__arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; }

  .contact-form { padding: 32px 24px; }

  .reason-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }

  .story__highlight {
    border-left: none;
    border-top: 4px solid var(--color-accent);
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-3xl: 28px;
    --font-size-2xl: 23px;
    --font-size-base: 17px;
  }

  .hero { padding: 110px 0 60px; }
  .section { padding: 56px 0; }

  .btn {
    width: 100%;
    padding: 16px 32px;
  }

  .btn--small {
    width: auto;
  }

  .service-preview { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pain-points { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }

  .section__title::after {
    margin: 16px auto 0;
  }
}

/* ==========================================
   LANDSCAPE — スマホ横向き対応
   ========================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 100px 0 50px;
  }

  .hero__inner {
    flex-direction: row;
    text-align: left;
    gap: 40px;
  }

  .hero__image {
    flex: 0 0 180px;
  }

  .hero__image img {
    max-width: 180px;
  }

  .hero__cta {
    justify-content: flex-start;
  }

  .section {
    padding: 50px 0;
  }

  .page-header {
    padding: 100px 0 40px;
  }

  .profile-hero {
    flex-direction: row;
    text-align: left;
  }

  .profile-hero__image {
    max-width: 180px;
  }

  .book-card {
    flex-direction: row;
    text-align: left;
  }

  .book-card__image {
    max-width: 140px;
  }

  .pain-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    flex-direction: row;
  }

  .step {
    max-width: 260px;
  }

  .step__arrow {
    display: block;
  }

  .reason-item {
    flex-direction: row;
    text-align: left;
  }

  .btn {
    width: auto;
  }

  .cta-section {
    padding: 60px 0;
  }

  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    text-align: left;
  }
}

@media (min-width: 481px) and (max-width: 900px) and (orientation: landscape) {
  .hero__inner {
    flex-direction: row;
    text-align: left;
  }

  .hero__image {
    flex: 0 0 220px;
  }

  .hero__image img {
    max-width: 220px;
  }

  .hero__cta {
    justify-content: flex-start;
  }

  .profile-hero {
    flex-direction: row;
    text-align: left;
  }

  .profile-hero__image {
    max-width: 200px;
  }

  .book-card {
    flex-direction: row;
    text-align: left;
  }

  .book-card__image {
    max-width: 160px;
  }

  .pain-points {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    flex-direction: row;
  }

  .step__arrow {
    display: block;
  }

  .reason-item {
    flex-direction: row;
    text-align: left;
  }

  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    text-align: left;
  }

  .footer__bottom {
    flex-direction: row;
  }
}
