/* ============================================================
   style.css
   保育現場サポートポートフォリオ
   スマホファースト → 600px → 900px → 1100px
   ============================================================ */

/* ============================================================
   1. CSS変数
   ============================================================ */
:root {
  --base-white:   #FFFFFF;
  --base-ivory:   #FAFAF8;
  --main-yellow:  #E6D72A;
  --sub-mint:     #98DBC6;
  --sub-pink:     #F18D9E;
  --text-main:    #2C2C2A;
  --text-sub:     #888780;
  --mint-light:   #E8F8F2;
  --pink-light:   #FFF0F3;
  --yellow-light: #FFF8EA;

  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'DM Sans', sans-serif;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);

  --header-h: 64px;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ============================================================
   2. リセット＆ベース
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--text-main);
  background-color: var(--base-white);
  line-height: 1.8;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-base);
}
a:hover, a:focus-visible { opacity: 0.8; }

:focus-visible {
  outline: 2px solid var(--sub-mint);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   3. ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
  white-space: nowrap;
  min-height: 48px;
}

.btn--primary {
  background-color: var(--sub-mint);
  color: var(--text-main);
  border-color: var(--sub-mint);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background-color: #7ECFB5;
  border-color: #7ECFB5;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.btn--ghost {
  background-color: rgba(255,255,255,0.75);
  color: var(--text-main);
  border-color: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background-color: var(--base-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  opacity: 1;
}

.btn--outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--sub-mint);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background-color: var(--mint-light);
  transform: translateY(-2px);
  opacity: 1;
}

.btn--line {
  background-color: #06C755;
  color: var(--base-white);
  border-color: #06C755;
}
.btn--line:hover, .btn--line:focus-visible {
  background-color: #05A847;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.btn--sm  { font-size: 0.82rem; padding: 8px 16px; min-height: 40px; }
.btn--lg  { font-size: 1rem;    padding: 15px 28px; }
.btn__icon { font-size: 1.1em; }

/* ============================================================
   4. セクション共通
   ============================================================ */
.section { padding: 64px 0; }
.section--mint  { background-color: var(--mint-light); }
.section--ivory { background-color: var(--base-ivory); }

.section__inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sub-mint);
  margin-bottom: 10px;
}

.section__title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text-main);
  display: inline-block;
}

.section__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--sub-mint);
  border-radius: var(--radius-full);
  margin: 12px auto 0;
}

.section__lead {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-sub);
  margin-top: 14px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__lead strong { color: var(--text-main); }

/* ============================================================
   5. スクロールアニメーション
   ============================================================ */
.js-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}
.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-fade-in,
  .hero__slide,
  .deco-circle,
  .solution__icon,
  .hero__visual-inner--tilt,
  .hero__visual-inner--float,
  .hero__visual-badge,
  .profile__avatar-ring,
  .profile__avatar-badge,
  .cta-final__icon i {
    opacity: 1;
    transform: none;
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   6. HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--header-h);
  max-width: 1080px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__logo-icon { font-size: 1.4rem; }
.header__logo-icon .fa-leaf { color: var(--sub-mint); }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.header__logo-text strong { font-family: var(--font-en); font-size: 1.05rem; font-weight: 600; }
.header__logo-text small  { font-size: 0.68rem; color: var(--text-sub); }

/* PC用ナビ（スマホでは非表示） */
.header__nav { display: none; }

/* ハンバーガー */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  padding: 10px 6px;
}
.hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.header__hamburger.is-open .hamburger__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__hamburger.is-open .hamburger__bar:nth-child(2) { opacity: 0; }
.header__hamburger.is-open .hamburger__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ドロワー */
.mobile-menu {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.mobile-menu.is-open { max-height: 480px; }

.mobile-menu__list {
  padding: 12px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu__link {
  display: block;
  padding: 11px 0;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color var(--transition-base), padding-left var(--transition-base);
}
.mobile-menu__link:hover, .mobile-menu__link:focus-visible {
  color: var(--sub-mint);
  padding-left: 8px;
  opacity: 1;
}
.mobile-menu__cta { margin-top: 12px; width: 100%; }

/* ============================================================
   7. HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: var(--header-h);
  background: linear-gradient(160deg, var(--base-white) 0%, var(--mint-light) 100%);
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
}

/* 背景装飾円 */
.hero__deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.deco-circle {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.22;
}
.deco-circle--mint {
  width: 280px; height: 280px;
  background: var(--sub-mint);
  top: -80px; right: -60px;
  animation: float1 10s ease-in-out infinite;
}
.deco-circle--yellow {
  width: 180px; height: 180px;
  background: var(--main-yellow);
  bottom: 60px; left: -50px;
  animation: float2 13s ease-in-out infinite;
}
.deco-circle--pink {
  width: 130px; height: 130px;
  background: var(--sub-pink);
  top: 40%; right: -20px;
  animation: float3 8s ease-in-out infinite;
}
.deco-circle--sm { transform: scale(0.5); }

/* スライダー */
.hero__slider { position: relative; flex: 1; z-index: 1; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }

/* スライド内レイアウト（スマホ：縦） */
.hero__slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 28px 20px 72px;
  min-height: calc(100svh - var(--header-h) - 56px);
}

/* テキスト */
.hero__text { text-align: center; width: 100%; max-width: 480px; }

.hero__lead {
  font-family: var(--font-en);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sub-mint);
  margin-bottom: 10px;
}

.hero__title {
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero__title-em {
  font-style: normal;
  color: var(--sub-mint);
  background: linear-gradient(transparent 70%, rgba(152,219,198,0.3) 70%);
  display: inline;
}

.hero__sub {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-sub);
  margin-bottom: 20px;
}
.hero__sub strong { color: var(--text-main); }

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* 信頼バッジ */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  justify-content: center;
}
.hero__trust-item {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-sub);
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  border: 1px solid rgba(152,219,198,0.4);
  backdrop-filter: blur(4px);
}
.hero__trust-item i { color: var(--sub-mint); margin-right: 2px; }

/* ヒーローフェードインアニメ */
.hero__slide.is-active .fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   8. ヒーロービジュアル（画像演出）
   ============================================================ */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  flex-shrink: 0;
}

/* ぼかし背景円 */
.hero__visual-blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(36px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  width: 200px; height: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.hero__visual-blob--mint   { background: var(--sub-mint); }
.hero__visual-blob--yellow { background: var(--main-yellow); opacity: 0.28; }
.hero__visual-blob--pink   { background: var(--sub-pink);   opacity: 0.25; }

/* 画像ラッパー共通 */
.hero__visual-inner {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Slide 1：傾き額縁 */
.hero__visual-inner--tilt {
  transform: rotate(-2.5deg);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  outline: 3px solid rgba(152,219,198,0.5);
  outline-offset: 4px;
}
.hero__slide.is-active .hero__visual-inner--tilt {
  animation: tiltSettle 0.8s ease forwards;
}
@keyframes tiltSettle {
  0%   { transform: rotate(-4deg) scale(0.97); }
  70%  { transform: rotate(-2deg) scale(1.01); }
  100% { transform: rotate(-2.5deg) scale(1); }
}

/* Slide 2：カード */
.hero__visual-inner--card {
  background: var(--base-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__visual-card-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: var(--base-ivory);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.hero__visual-card-bar span {
  display: block;
  width: 9px; height: 9px;
  border-radius: var(--radius-full);
}
.hero__visual-card-bar span:nth-child(1) { background: #F18D9E; }
.hero__visual-card-bar span:nth-child(2) { background: #E6D72A; }
.hero__visual-card-bar span:nth-child(3) { background: #98DBC6; }

/* Slide 3：浮遊 */
.hero__visual-inner--float {
  box-shadow: 0 16px 40px rgba(241,141,158,0.16), 0 4px 14px rgba(0,0,0,0.08);
  border-radius: var(--radius-xl);
  animation: floatImg 4s ease-in-out infinite;
}
@keyframes floatImg {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-7px); }
}

/* 吹き出しタグ */
.hero__visual-tag {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--base-white);
  color: var(--text-main);
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--mint-light);
  z-index: 2;
}
.hero__visual-tag i { color: var(--sub-mint); margin-right: 4px; }
.hero__visual-tag::before {
  content: '';
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent var(--mint-light);
}
.hero__visual-tag::after {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  border-width: 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent var(--base-white);
}

/* バッジ */
.hero__visual-badge {
  position: absolute;
  font-size: 1.2rem;
  z-index: 3;
  animation: badgeBounce 2.8s ease-in-out infinite;
  pointer-events: none;
}
.hero__visual-badge--1 { top: 5%;  right: 2%;  animation-delay: 0s; }
.hero__visual-badge--2 { bottom: 12%; left: 0%; animation-delay: 0.7s; font-size: 0.95rem; }
.hero__visual-badge--3 { top: 4%;  right: 0%;  animation-delay: 0.3s; }
.hero__visual-badge--4 { bottom: 8%; left: 2%; animation-delay: 1s;   font-size: 0.95rem; }
.hero__visual-badge--5 { top: 7%;  left: 2%;   animation-delay: 0.5s; }

.hero__visual-badge .fa-seedling  { color: var(--sub-mint); }
.hero__visual-badge .fa-star      { color: var(--main-yellow); }
.hero__visual-badge .fa-lightbulb { color: var(--main-yellow); }
.hero__visual-badge .fa-circle-check { color: var(--sub-mint); }
.hero__visual-badge .fa-heart     { color: var(--sub-pink); }

@keyframes badgeBounce {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%     { transform: translateY(-5px) rotate(4deg); }
}

/* 画像本体 */
.hero__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* スライダーコントロール */
.hero__controls {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 10;
}

.hero__prev, .hero__next {
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: var(--radius-full);
  width: 38px; height: 38px;
  font-size: 1.3rem;
  color: var(--text-sub);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), transform var(--transition-base);
}
.hero__prev:hover, .hero__next:hover { background: var(--base-white); transform: scale(1.1); }

.hero__dots { display: flex; gap: 7px; align-items: center; }
.hero__dot {
  width: 9px; height: 9px;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,0.18);
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), width var(--transition-base);
  padding: 0;
}
.hero__dot.is-active { background: var(--sub-mint); width: 22px; }

/* ============================================================
   9. NUMBERS
   ============================================================ */
.numbers { padding: 36px 0; }

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.numbers__item {
  text-align: center;
  padding: 18px 10px;
  position: relative;
}
.numbers__item--divider::before {
  content: '';
  position: absolute;
  top: 20%; left: 0;
  height: 60%; width: 1px;
  background: rgba(0,0,0,0.08);
}

.numbers__num {
  display: block;
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 5px;
}
.numbers__num small { font-size: 0.95rem; font-weight: 500; color: var(--sub-mint); }
.numbers__label { font-size: 0.75rem; line-height: 1.6; color: var(--text-sub); }

/* ============================================================
   10. PROBLEM
   ============================================================ */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.problem__card {
  background: var(--base-white);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.problem__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sub-mint);
}

.problem__icon {
  display: block;
  margin-bottom: 8px;
}
.problem__icon i {
  font-size: 1.8rem;
  color: var(--sub-mint);
  transition: transform 0.3s ease;
}
.problem__card:hover .problem__icon i { transform: scale(1.15); }

.problem__text { font-size: 0.82rem; font-weight: 500; line-height: 1.55; }

/* インサイトボックス */
.problem__insight {
  margin-top: 36px;
  background: var(--base-white);
  border-left: 4px solid var(--sub-mint);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.problem__insight-text { font-size: 0.9rem; line-height: 1.9; }
.problem__insight-text strong { color: var(--text-main); }

/* ============================================================
   11. STORY
   ============================================================ */
.story {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(232,248,242,0.68), rgba(250,250,248,0) 42%),
    var(--base-ivory);
}

.story__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
  text-align: center;
}

.story__inner::before {
  content: '';
  position: absolute;
  top: 42px;
  bottom: 42px;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(152,219,198,0.55), rgba(241,141,158,0.35), transparent);
  transform: translateX(-50%);
}

.story__intro,
.story__manga,
.story__after {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.story__intro,
.story__after {
  max-width: 760px;
}

.story__intro {
  background: rgba(250,250,248,0.84);
  border-radius: var(--radius-lg);
  padding: 15px 12px 20px 12px;
}

.story__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #3AAFA0;
  background: var(--mint-light);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-bottom: 18px;
}

.story__eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--sub-mint);
}

.story__title,
.story__manga-title,
.story__after-title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text-main);
}

.story__text {
  margin-top: 18px;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text-sub);
}

.story__manga-title {
  display: inline-block;
  margin-bottom: 24px;
}

.story__manga-title::after,
.story__after-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--sub-mint);
  border-radius: var(--radius-full);
  margin: 12px auto 0;
}

.story__figure {
  margin: 0 auto;
  background: var(--base-white);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(152,219,198,0.28);
}

.story__image {
  width: 100%;
  border-radius: var(--radius-md);
}

.story__caption {
  margin-top: 12px;
  padding: 0 8px 4px;
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--text-sub);
}

.story__after {
  background: var(--base-white);
  border-left: 4px solid var(--sub-pink);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 30px 22px;
  box-shadow: var(--shadow-sm);
}

.story__actions {
  margin-top: 22px;
}

/* ============================================================
   12. SOLUTION
   ============================================================ */
.solution__grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.solution__card {
  background: var(--base-white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.solution__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.solution__icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.solution__icon-wrap--mint   { background-color: var(--mint-light); }
.solution__icon-wrap--pink   { background-color: var(--pink-light); }
.solution__icon-wrap--yellow { background-color: var(--yellow-light); }

.solution__icon i { font-size: 1.4rem; animation: sway 4s ease-in-out infinite; }
.solution__icon-wrap--mint   .solution__icon i { color: #3AAFA0; }
.solution__icon-wrap--pink   .solution__icon i { color: #C55B72; }
.solution__icon-wrap--yellow .solution__icon i { color: #A58A00; }
.solution__card:nth-child(2) .solution__icon i { animation-delay: 1s; }
.solution__card:nth-child(3) .solution__icon i { animation-delay: 2s; }

.solution__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.solution__card-body {
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.solution__examples {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: var(--base-ivory);
  border-radius: var(--radius-md);
}
.solution__example { font-size: 0.8rem; line-height: 1.55; }
.solution__example i { color: var(--sub-mint); width: 1.1em; text-align: center; margin-right: 2px; }

.solution__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.solution__tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-sub);
  background: var(--base-ivory);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  border: 1px solid rgba(0,0,0,0.06);
}

/* 中間CTA */
.solution__cta {
  margin-top: 40px;
  text-align: center;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
}
.solution__cta-text { font-size: 0.92rem; line-height: 1.7; color: var(--text-sub); margin-bottom: 16px; }
.solution__cta-text strong { color: var(--text-main); }

/* ============================================================
   13. BEFORE / AFTER
   ============================================================ */
.ba__wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.ba__box {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ba__box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
}
.ba__box-header--before { background-color: #F0F0EE; }
.ba__box-header--after  { background-color: var(--mint-light); }

.ba__label i { font-size: 1.3rem; }
.ba__box--before .ba__label i { color: var(--text-sub); }
.ba__box--after  .ba__label i { color: var(--sub-mint); }

.ba__title { font-family: var(--font-en); font-size: 1rem; font-weight: 600; letter-spacing: 0.05em; }

.ba__list { background: var(--base-white); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }

.ba__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.ba__bullet { flex-shrink: 0; margin-top: 2px; }
.ba__bullet i { color: var(--text-sub); font-size: 0.85rem; }
.ba__bullet--check i { color: var(--sub-mint); }

.ba__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba__arrow-icon i {
  font-size: 1.6rem;
  color: var(--sub-mint);
  transform: rotate(90deg); /* スマホ：下向き */
  display: block;
}

.ba__note { margin-top: 18px; font-size: 0.75rem; color: var(--text-sub); text-align: center; line-height: 1.7; }

/* ============================================================
   13. VOICE
   ============================================================ */
.voice__grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.voice__card {
  background: var(--base-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--sub-pink);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.voice__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.voice__quote { margin: 0; }

.voice__text {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 12px;
  padding-top: 4px;
}
.voice__text::before {
  content: '\201C';
  font-family: var(--font-en);
  font-size: 2rem;
  color: var(--sub-pink);
  opacity: 0.45;
  line-height: 0;
  position: relative;
  top: 11px;
  margin-right: 1px;
}

.voice__from {
  font-size: 0.73rem;
  font-style: normal;
  color: var(--text-sub);
  padding: 3px 10px;
  background: var(--pink-light);
  border-radius: var(--radius-full);
}

.voice__note { font-size: 0.72rem; color: var(--text-sub); text-align: center; line-height: 1.7; }

/* ============================================================
   14. FLOW
   ============================================================ */
.flow__list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.flow__list::before {
  content: '';
  position: absolute;
  top: 0; left: 29px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--sub-mint), var(--mint-light));
  border-radius: var(--radius-full);
  z-index: 0;
}

.flow__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 32px;
  position: relative;
  z-index: 1;
}
.flow__step:last-child { padding-bottom: 0; }

.flow__step-num {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: var(--radius-full);
  background: var(--sub-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--base-white), 0 0 0 6px var(--sub-mint);
}
.flow__step-num span { font-family: var(--font-en); font-size: 0.95rem; font-weight: 600; color: var(--text-main); }

.flow__step-body { flex: 1; padding-top: 10px; }
.flow__step-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; }
.flow__step-text  { font-size: 0.84rem; line-height: 1.8; color: var(--text-sub); }

/* アイコン（PCのみ表示） */
.flow__step-icon { display: none; }
.flow__step-icon i { font-size: 1.5rem; color: var(--sub-mint); }

/* ============================================================
   15. PROFILE
   ============================================================ */
.profile__wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.profile__avatar {
  position: relative;
  width: 180px; height: 180px;
  flex-shrink: 0;
  margin: 16px;
}

.profile__avatar-ring {
  position: absolute;
  border-radius: var(--radius-full);
  pointer-events: none;
}
.profile__avatar-ring--mint   { inset: -10px; border: 3px solid rgba(152,219,198,0.55); animation: ringPulse 3.5s ease-in-out infinite; }
.profile__avatar-ring--yellow { inset: -20px; border: 2px dashed rgba(230,215,42,0.42); animation: ringPulse 3.5s ease-in-out infinite reverse; animation-delay: 0.8s; }

@keyframes ringPulse {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.03); }
}

.profile__avatar-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position:center;
  border-radius: var(--radius-full);
  display: block;
  box-shadow: 0 0 0 4px var(--base-white), 0 0 0 7px rgba(152,219,198,0.6), var(--shadow-lg);
}

.profile__avatar-badge {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 38px; height: 38px;
  background: var(--base-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--mint-light);
  animation: sway 3s ease-in-out infinite;
}
.profile__avatar-badge i { font-size: 1rem; color: var(--sub-mint); }

.profile__body { width: 100%; }

.profile__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.profile__name-en { font-family: var(--font-en); font-size: 0.82rem; font-weight: 400; color: var(--text-sub); letter-spacing: 0.06em; }

.profile__text { font-size: 0.88rem; line-height: 1.9; color: var(--text-sub); margin-bottom: 12px; }
.profile__text strong { color: var(--text-main); }

.profile__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.profile__tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-main);
  background: var(--mint-light);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  border: 1px solid rgba(152,219,198,0.4);
}
.profile__tag i { color: var(--sub-mint); margin-right: 4px; }

/* ============================================================
   16. BLOG
   ============================================================ */
.blog__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.blog__card {
  background: var(--base-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.blog__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.blog__card-link { display: block; color: inherit; }

.blog__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 130px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.blog__thumb--ai  { background-color: var(--mint-light); }
.blog__thumb--sns { background-color: var(--yellow-light); }
.blog__thumb--ops { background-color: var(--pink-light); }

.blog__thumb-icon { font-size: 2.8rem; opacity: 0.85; transition: transform 0.3s ease; }
.blog__thumb--ai  .blog__thumb-icon { color: #3AAFA0; }
.blog__thumb--sns .blog__thumb-icon { color: #A58A00; }
.blog__thumb--ops .blog__thumb-icon { color: #C55B72; }

.blog__thumb-sub { font-size: 1.3rem; opacity: 0.45; position: absolute; bottom: 10px; right: 14px; }
.blog__thumb--ai  .blog__thumb-sub { color: #3AAFA0; }
.blog__thumb--sns .blog__thumb-sub { color: #A58A00; }
.blog__thumb--ops .blog__thumb-sub { color: #C55B72; }

.blog__card:hover .blog__thumb-icon { transform: translateY(-4px) scale(1.08); }

.blog__card-body { padding: 16px 18px; }

.blog__cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 7px;
}
.blog__cat--ai   { background: var(--mint-light);   color: #3AAFA0; }
.blog__cat--work { background: var(--yellow-light);  color: #A58A00; }
.blog__cat--sns  { background: var(--pink-light);    color: #C55B72; }

.blog__card-title { font-size: 0.88rem; font-weight: 700; line-height: 1.6; color: var(--text-main); margin-bottom: 7px; }
.blog__date { font-family: var(--font-en); font-size: 0.73rem; color: var(--text-sub); }

.blog__more { text-align: center; }

/* ============================================================
   17. FINAL CTA
   ============================================================ */
.cta-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--base-white) 0%, var(--mint-light) 60%, var(--yellow-light) 100%);
}
.cta-final__deco { position: absolute; inset: 0; pointer-events: none; }
.cta-final__deco .deco-circle--mint   { top: -80px; left: -60px; animation-delay: 2s; }
.cta-final__deco .deco-circle--yellow { bottom: -60px; right: -40px; }

.cta-final__card {
  position: relative;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-final__icon i {
  font-size: 2.2rem;
  color: var(--sub-mint);
  display: block;
  margin-bottom: 16px;
  animation: sway 3.5s ease-in-out infinite;
}

.cta-final__title { font-size: 1.35rem; font-weight: 700; line-height: 1.6; margin-bottom: 14px; }

.cta-final__text { font-size: 0.88rem; line-height: 1.9; color: var(--text-sub); margin-bottom: 28px; }
.cta-final__text strong { color: var(--text-main); }

.cta-final__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.cta-final__actions .btn { width: 100%; max-width: 300px; }

.cta-final__notes { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.cta-final__notes li { font-size: 0.78rem; color: var(--text-sub); }
.cta-final__notes li i { color: var(--sub-mint); margin-right: 4px; }

/* ============================================================
   18. FOOTER
   ============================================================ */
.site-footer {
  background: var(--text-main);
  color: rgba(255,255,255,0.85);
  padding: 40px 0 28px;
}

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}
.footer__logo .fa-leaf { font-size: 1.2rem; color: var(--sub-mint); }

.footer__nav-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.footer__nav-link { font-size: 0.78rem; color: rgba(255,255,255,0.6); transition: color var(--transition-base); }
.footer__nav-link:hover, .footer__nav-link:focus-visible { color: var(--sub-mint); opacity: 1; }

.footer__copy { font-size: 0.72rem; color: rgba(255,255,255,0.38); }

/* ============================================================
   19. アニメーション定義
   ============================================================ */
@keyframes sway {
  0%,100% { transform: rotate(-3deg); }
  50%     { transform: rotate(3deg); }
}
@keyframes float1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-10px,16px) scale(1.03); }
  66%     { transform: translate(7px,-8px) scale(0.97); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(13px,-18px); }
}
@keyframes float3 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-7px,12px); }
}

/* ============================================================
   20. レスポンシブ：600px〜（PC半分・中間幅）
   ============================================================ */
@media (min-width: 500px) and (max-width: 899px) {
  /* HERO：タブレット未満はキャッチコピー横に画像を表示 */
  .hero__slide-inner {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    padding: 24px 28px 68px;
    min-height: calc(100svh - var(--header-h) - 56px);
  }

  .hero__text {
    flex: 1 1 54%;
    max-width: 430px;
    min-width: 0;
    text-align: left;
  }

  .hero__title {
    font-size: clamp(1.55rem, 4.2vw, 2rem);
  }

  .hero__sub {
    margin-bottom: 16px;
  }

  .hero__actions {
    align-items: flex-start;
  }

  .hero__trust {
    justify-content: flex-start;
  }

  .hero__visual {
    flex: 0 1 34%;
    max-width: 260px;
    min-width: 180px;
    margin: 0;
  }
}

@media (max-width: 499px) {
  .hero__slide-inner {
    justify-content: flex-start;
    gap: 16px;
    padding: 24px 18px 70px;
  }

  .hero__title {
    font-size: clamp(1.42rem, 8vw, 1.8rem);
  }

  .hero__sub {
    font-size: 0.84rem;
    line-height: 1.75;
    margin-bottom: 16px;
  }

  .hero__visual {
    max-width: min(220px, 62vw);
  }
}

@media (min-width: 600px) {
  /* Numbers：4カラム */
  .numbers { padding: 40px 0; }
  .numbers__grid { grid-template-columns: repeat(4, 1fr); }

  /* Problem：3カラム */
  .problem__grid { grid-template-columns: repeat(3, 1fr); }

  /* Story：余白調整 */
  .story__title,
  .story__manga-title,
  .story__after-title {
    font-size: 1.7rem;
  }

  .story__inner {
    gap: 42px;
  }

  .story__figure {
    padding: 14px;
  }

  .story__after {
    padding: 36px 42px;
  }

  /* Before/After：横並び */
  .ba__wrapper { flex-direction: row; align-items: stretch; }
  .ba__box { flex: 1; }
  .ba__arrow-icon i { transform: rotate(0deg); }

  /* Voice：横並び */
  .voice__grid { flex-direction: row; }
  .voice__card { flex: 1; }

  /* Blog：2カラム */
  .blog__grid { flex-direction: row; flex-wrap: wrap; }
  .blog__card { flex: 1 1 calc(50% - 8px); }

  /* CTA：ボタン横並び */
  .cta-final__actions { flex-direction: row; justify-content: center; }
  .cta-final__actions .btn { width: auto; }
}

/* ============================================================
   21. レスポンシブ：900px〜（PC）
   ============================================================ */
@media (min-width: 900px) {
  /* セクション余白を増やす */
  .section { padding: 80px 0; }
  .section__title { font-size: 1.8rem; }

  /* ヘッダー：PCナビ表示 */
  .header__nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .header__nav-list { display: flex; gap: 2px; }
  .header__nav-link {
    font-size: 0.86rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-base), color var(--transition-base);
  }
  .header__nav-link:hover, .header__nav-link:focus-visible {
    background: var(--mint-light);
    color: var(--text-main);
    opacity: 1;
  }
  .header__hamburger { display: none; }
  .mobile-menu { display: none; }

  /* HERO：横並び */
  .hero__slide-inner {
    flex-direction: row;
    justify-content: center;
    padding: 28px 48px 68px;
    gap: 40px;
    min-height: 0;
    height: calc(100svh - var(--header-h) - 56px);
    overflow: hidden;
  }

  .hero__text {
    text-align: left;
    flex: 1;
    max-width: 440px;
    min-width: 0;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero__trust { justify-content: flex-start; }

  .hero__visual {
    max-width: 320px;
    margin: 0;
  }

  /* Solution：3カラム */
  .solution__grid { flex-direction: row; gap: 20px; }
  .solution__card { flex: 1; }

  /* Story：PC表示 */
  .story__text {
    font-size: 0.95rem;
  }

  .story__inner {
    gap: 48px;
  }

  .story__figure {
    padding: 18px;
  }

  /* Blog：3カラム */
  .blog__grid { flex-wrap: nowrap; }
  .blog__card { flex: 1 1 auto; }

  /* Flow：STEPアイコン表示 */
  .flow__step-icon { display: block; }

  /* Profile：横並び */
  .profile__wrapper { flex-direction: row; align-items: flex-start; gap: 48px; }
  .profile__avatar { width: 200px; height: 200px; }

  /* Footer */
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; align-items: center; }
}

/* ============================================================
   22. レスポンシブ：1100px〜（大型PC）
   ============================================================ */
@media (min-width: 1100px) {
  .section__title { font-size: 2rem; }

  .hero__title { font-size: 2.3rem; }

  .hero__slide-inner {
    padding: 32px 64px 72px;
    gap: 52px;
  }

  .hero__text  { max-width: 480px; }
  .hero__visual { max-width: 380px; }

  .profile__avatar { width: 220px; height: 220px; }
}
