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

:root {
  --primary:       #FF6F8F;
  --primary-dark:  #E5547A;
  --primary-light: #FFE8EF;
  --sub:           #F4B8CA;
  --accent:        #4A4A4A;
  --accent-dark:   #333333;
  --text:          #2D2A30;
  --text-sub:      #7A6A7A;
  --text-light:    #B4A4B4;
  --bg:            #FAF7F5;
  --bg-section:    #F3EFEC;
  --bg-alt:        #F3EFEC;
  --white:         #FFFFFF;
  --border:        rgba(74,74,74,.10);

  --radius:    20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 16px rgba(46,35,51,.05);
  --shadow-md: 0 8px 40px rgba(46,35,51,.10);

  --container: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* スマホで横スクロールが出ないように */
  overflow-x: hidden;
}

/* 日本語本文は文節（フレーズ）単位で折り返し、語中での不自然な改行を防ぐ */
.hero__body,
.section-desc,
.reason-card__desc,
.service-card__desc,
.work-card__desc,
.about__greeting,
.about__body p,
.pricing-card__list li,
.contact__desc,
.faq-item__q,
.faq-item__a p,
.services__note p,
.pricing__note p,
.flow-step div p {
  word-break: auto-phrase;
}

h1, h2, h3,
.hero__title, .section-title, .contact__title,
.reason-card__title, .service-card__title, .work-card__title {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  letter-spacing: .06em;
}

.logo__text {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: .04em;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* スキップリンク（キーボード操作用） */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 8px 0;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* フォーカス表示（キーボード操作用） */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.hamburger:focus-visible,
.page-top:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ============================
   レイアウト
   ============================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

/* ============================
   共通コンポーネント
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}


.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 18px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-sub);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(255,111,143,.28);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255,111,143,.38);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* タグ */
.tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* ============================
   ヘッダー
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,247,245,.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow .3s;
}
.header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  min-width: 0;
  flex-shrink: 1;
}

.logo__img {
  width: 32px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.logo__name {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.logo__text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.logo__sub {
  font-size: 8.5px;
  font-weight: 400;
  opacity: .55;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  border-radius: var(--radius);
  transition: all .2s;
}
.nav__link:hover { background: var(--primary-light); color: var(--primary); }

.nav__link--cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 100px;
}
.nav__link--cta:hover {
  background: var(--accent-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(--text);
  border-radius: 2px;
  transition: all .25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 0 16px;
}
.nav-mobile a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ============================
   ① ヒーローセクション
   ============================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  padding: 140px 0 100px;
}

/* ── 背景オーブ ── */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero__orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,111,143,.07), transparent 70%);
  top: -220px; right: -140px;
  animation: orbDrift1 28s ease-in-out infinite;
}
.hero__orb--2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(74,74,74,.04), transparent 70%);
  bottom: -200px; left: -120px;
  animation: orbDrift2 34s ease-in-out infinite;
}
.hero__orb--3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,111,143,.06), transparent 70%);
  top: 42%; left: 32%;
  animation: orbDrift1 22s ease-in-out infinite reverse;
}
.hero__orb--4 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(74,74,74,.03), transparent 70%);
  top: 12%; left: 6%;
  animation: orbDrift2 18s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-26px) scale(1.06); }
  66%     { transform: translate(-24px,18px) scale(0.95); }
}
@keyframes orbDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(-32px,22px) scale(1.04); }
  72%     { transform: translate(22px,-16px) scale(0.97); }
}

/* ── レイアウト ── */
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── 左: コピー ── */
.hero__copy {
  animation: heroIn .9s cubic-bezier(.16,1,.3,1) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 32px;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
  letter-spacing: .01em;
  margin-bottom: 24px;
}
.hero__accent {
  color: var(--primary);
}

.hero__body {
  font-size: 15px;
  line-height: 2;
  color: var(--text-sub);
  font-weight: 300;
  margin-bottom: 44px;
  max-width: 380px;
}

/* CTA */
.hero__cta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 52px;
}
.cta-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  padding: 15px 38px;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(255,111,143,.22);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(255,111,143,.32);
}
.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-sub);
  text-decoration: none;
  letter-spacing: .02em;
  transition: gap .25s, color .2s;
}
.cta-ghost:hover {
  gap: 10px;
  color: var(--text);
}

/* Stats bar */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hstat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.hstat__icon {
  font-size: 15px;
  line-height: 1;
  margin-bottom: 3px;
}
.hstat__val {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.hstat__key {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: .04em;
}
.hstat__sep {
  width: 1px;
  height: 36px;
  background: rgba(46,35,51,.1);
}

/* ── 右: デバイス ── */
.hero__visual {
  animation: heroIn .9s .18s cubic-bezier(.16,1,.3,1) both;
}

.hero__stage {
  position: relative;
  padding: 28px 20px 28px 28px;
}

/* ブラウザ */
.hw-browser {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(46,35,51,.13), 0 4px 16px rgba(46,35,51,.05);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.hw-browser__bar {
  background: #F5F2F2;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.hw-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.hw-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.hw-dots span:nth-child(1) { background: #FF6058; }
.hw-dots span:nth-child(2) { background: #FEBC2E; }
.hw-dots span:nth-child(3) { background: #28CA42; }
.hw-url {
  flex: 1;
  background: rgba(0,0,0,.05);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 9.5px;
  color: #AAA;
  white-space: nowrap;
  overflow: hidden;
}
.hw-browser__screen {
  height: 260px;
  overflow: hidden;
}

/* サイトプレビュー */
.hw-site {
  background: #FFFCFA;
  height: 100%;
}
.hw-nav {
  height: 26px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(0,0,0,.04);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.hw-nav__logo {
  width: 40px; height: 7px;
  background: #2E2333;
  border-radius: 3px;
}
.hw-nav__links {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.hw-nav__links span {
  width: 22px; height: 5px;
  background: #D0C8D0;
  border-radius: 3px;
}
.hw-hero-row {
  display: flex;
  gap: 12px;
  padding: 14px;
  align-items: center;
}
.hw-hero-text { flex: 1; }
.hw-line {
  height: 7px;
  border-radius: 4px;
  margin-bottom: 7px;
}
.hw-line--h1 { background: #2E2333; width: 85%; height: 9px; }
.hw-line.w55 { width: 55%; }
.hw-line.w45 { width: 45%; }
.hw-line--p  { background: #D8CED8; width: 70%; }
.hw-cta-bar {
  width: 64px; height: 16px;
  background: var(--primary);
  border-radius: 8px;
  margin-top: 10px;
}
.hw-hero-img {
  width: 112px; height: 86px;
  background: linear-gradient(135deg, #FFCCD8 0%, #E8E0E4 100%);
  border-radius: 8px;
  flex-shrink: 0;
}
.hw-cards-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  padding: 0 14px;
}
.hw-card {
  height: 54px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(46,35,51,.06);
}

/* スマホ */
.hw-phone {
  position: absolute;
  bottom: -16px;
  right: -18px;
  z-index: 3;
  animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.hw-phone__frame {
  width: 100px;
  background: #1C1C1E;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.07);
}
.hw-phone__island {
  width: 32px; height: 7px;
  background: #111;
  border-radius: 4px;
  margin: 0 auto 5px;
}
.hw-phone__screen {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  height: 170px;
}
.hw-ph-header {
  height: 52px;
  background: linear-gradient(135deg, #4A4A4A 0%, #FF6F8F 100%);
}
.hw-ph-body { padding: 8px; }
.hw-pm-line {
  height: 6px;
  background: #2E2333;
  border-radius: 3px;
  margin-bottom: 5px;
}
.hw-pm-line.w65 { width: 65%; background: #DDD; }
.hw-pm-btn {
  width: 52px; height: 14px;
  background: var(--primary);
  border-radius: 7px;
  margin: 8px 0;
}
.hw-pm-card {
  height: 22px;
  background: #FBF7F5;
  border-radius: 4px;
  margin-bottom: 5px;
}
.hw-pm-card--sm { height: 16px; width: 75%; }

/* ガラスタグ */
.hw-glass {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,252,250,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 16px;
  padding: 11px 16px;
  box-shadow: 0 8px 30px rgba(46,35,51,.09);
  z-index: 4;
  white-space: nowrap;
}
.hw-glass--1 {
  top: 0; left: -4px;
  animation: glassFloat 6s ease-in-out infinite;
}
.hw-glass--2 {
  bottom: 42px; left: -12px;
  animation: glassFloat 7s 3s ease-in-out infinite;
}
@keyframes glassFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-7px); }
}
.hw-glass__check {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  width: 22px; height: 22px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hw-glass__main {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.hw-glass__star {
  color: #f59e0b;
  font-size: 13px;
}
.hw-glass__sub {
  font-size: 10px;
  color: var(--text-light);
  margin-top: 2px;
}

/* スクロールインジケーター */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(46,35,51,.28);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  z-index: 1;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(46,35,51,.14);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================
   ② 自己紹介
   ============================ */
.about {
  background: var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}

.about__photo {
  position: relative;
}

.about__photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about__name-card {
  background: var(--primary-light);
  border: 1px solid rgba(255,111,143,.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.about__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.about__title {
  font-size: 12px;
  color: var(--text-sub);
  white-space: nowrap;
}

.about__greeting {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about__body p {
  color: var(--text-sub);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
}
.about__body strong { color: var(--text); }

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

/* ============================
   ③ 選ばれる理由
   ============================ */
.reasons {
  background: var(--bg-section);
}

.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  opacity: 0;
  transform: translateY(24px);
}
.reason-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow .25s;
}
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.reason-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}
.reason-card__icon svg { width: 52px; height: 52px; }

.reason-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.45;
}

.reason-card__desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ============================
   ④ サービス内容
   ============================ */
.services {
  background: var(--bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  border: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .25s, box-shadow .25s;
  opacity: 0;
  transform: translateY(24px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card--featured {
  border: 2px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: visible;
}

.service-card__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 18px;
  line-height: 1.8;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.service-card__list li {
  font-size: 13px;
  color: var(--text-sub);
  padding-left: 18px;
  position: relative;
}
.service-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.service-card__period {
  font-size: 13px;
  color: var(--text-sub);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.service-card__period strong {
  color: var(--primary);
  font-size: 14px;
}

.services__note {
  text-align: center;
  padding: 32px;
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}
.services__note p {
  color: var(--text-sub);
  font-size: 14px;
  margin-bottom: 20px;
}

/* ============================
   ⑤ 制作実績
   ============================ */
.works {
  background: var(--bg-section);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.work-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: none;
  transition: transform .25s, box-shadow .25s;
  opacity: 0;
  transform: translateY(24px);
}
.work-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow .25s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.work-card__img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

/* カード画像の底部ウェーブ装飾（ヒーローと同じ曲率 r=80相当） */
.work-card__img::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 28 A 80 80 0 0 0 100 28 A 80 80 0 0 0 200 28 A 80 80 0 0 0 300 28 A 80 80 0 0 0 400 28' stroke='%23FFE8F0' stroke-opacity='0.75' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  z-index: 2;
  pointer-events: none;
}

.work-card__img--cafe { background: url('./images/thumb-korea-cafe.jpg') center top / cover no-repeat; }
.work-card__img--corp { background: url('./images/thumb-it-corporate.jpg') center top / cover no-repeat; }

.work-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.work-card__link:hover { opacity: .65; }

.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 60%);
}
.work-card__overlay span {
  font-size: 12px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.work-card__body {
  padding: 24px;
}

.work-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.work-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.45;
}

.work-card__desc {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 14px;
  line-height: 1.8;
}

.works__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

/* ============================
   ⑥ 料金プラン
   ============================ */
.pricing {
  background: var(--bg-alt);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 32px;
}

.pricing-card {
  background: #fff;
  border: 2px solid #e8ddd9;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}

.pricing-card--featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(255,111,143,.2);
}

.pricing-card__head {
  background: linear-gradient(135deg, #fff5f7 0%, #fff 100%);
  border-bottom: 2px solid #f0e8e8;
  padding: 28px 24px 20px;
  text-align: center;
}

.pricing-card--featured .pricing-card__head {
  background: linear-gradient(135deg, #FFF0F3 0%, #F5F3F3 100%);
  border-bottom-color: rgba(255,111,143,.2);
}

.pricing-card__badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-card__tagline {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.pricing-card__yen {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.pricing-card__amount {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  letter-spacing: -1px;
  line-height: 1;
}

.pricing-card__from {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
}

.pricing-card__body {
  padding: 20px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-card__period {
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e0d8d5;
}

.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.pricing-card__list li {
  font-size: 14px;
  color: var(--text-sub);
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid #f3eeec;
  position: relative;
}

.pricing-card__list li:last-child {
  border-bottom: none;
}

.pricing-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.pricing__note {
  max-width: 640px;
  margin: 0 auto;
}

.pricing__note-basic {
  font-size: 12px;
  color: var(--text-sub);
  background: #fff;
  border: 1.5px solid #e8ddd9;
  border-radius: 10px;
  padding: 14px 24px;
}

.pricing__note-basic p {
  margin: 0;
  line-height: 1.9;
}

.pricing__note-special {
  margin-top: 14px;
  background: var(--primary-light);
  border: 1.5px solid rgba(255,111,143,.22);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pricing__note-special-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing__note-special p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.75;
}

.pricing__note-special strong {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-card--featured {
    order: -1;
  }
}

/* ============================
   ⑦ お問い合わせ
   ============================ */
.contact {
  position: relative;
  background: linear-gradient(135deg, var(--bg-section) 0%, var(--primary-light) 60%, #FFE8F0 100%) !important;
  overflow: hidden;
  padding: 88px 0;
}

.contact::before {
  display: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact__title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.35;
}

.contact__desc {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 48px;
}

.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto 56px;
}

.contact__cards--single {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-align: center;
  transition: all .25s;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.contact-card:hover {
  background: rgba(255,255,255,.92);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(156,85,112,.15);
}

.contact-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.contact-card__desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

.contact-card__btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s;
}
.contact-card:hover .contact-card__btn {
  background: var(--accent-dark);
}

/* ご相談の流れ */
.contact__flow {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: left;
}

.contact__flow-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-20px);
}
.flow-step.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity .5s ease, transform .5s ease;
}
.flow-step:last-child { border-bottom: none; }

.flow-step__num {
  font-size: 24px;
  font-weight: 800;
  color: rgba(156,85,112,.2);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.flow-step div strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.flow-step div p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
  /* 日本語を文節単位で折り返し、語中での不自然な改行を防ぐ */
  word-break: auto-phrase;
}

/* ── FAQ アコーディオン ── */
.faq {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.faq__title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: .04em;
}

.faq-item {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,111,143,.16);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: rgba(255,111,143,.3);
  box-shadow: 0 6px 20px rgba(255,111,143,.1);
}

.faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
}
.faq-item__q::-webkit-details-marker { display: none; }

/* Q バッジ */
.faq-item__q::before {
  content: 'Q';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 開閉アイコン */
.faq-item__q::after {
  content: '';
  flex-shrink: 0;
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.faq-item[open] .faq-item__q::after {
  transform: rotate(-135deg);
}

.faq-item__a {
  padding: 0 20px 20px 58px;
}
.faq-item__a p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
  margin: 0;
}
.faq-item__a strong {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 640px) {
  .faq-item__q {
    padding: 16px 16px;
    font-size: 14px;
    gap: 10px;
  }
  .faq-item__a {
    padding: 0 16px 18px 48px;
  }
  .faq-item__a p {
    line-height: 2;
  }
}

/* ============================
   フッター
   ============================ */
.footer {
  position: relative;
  background: var(--bg-section);
  padding: 48px 0 32px;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(255,111,143,.07) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 60%, rgba(74,74,74,.04) 0%, transparent 50%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer__logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__logo-img {
  flex-shrink: 0;
  display: block;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.footer__nav a {
  font-size: 13px;
  color: var(--text-sub);
  padding: 6px 12px;
  transition: color .2s;
}
.footer__nav a:hover { color: var(--primary); }

.footer__social {
  display: flex;
  justify-content: center;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-light);
  transition: background .2s, color .2s, transform .2s;
}

.footer__social-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 22px;
  height: 22px;
}

.footer__copy {
  font-size: 12px;
  color: var(--text-light);
}

/* ページトップボタン */
.page-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 50;
}
.page-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.page-top:hover {
  background: var(--primary-dark);
}

/* ============================
   レスポンシブ（スマホ対応）
   ============================ */
@media (max-width: 900px) {
  .reasons__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
  .hero__body { max-width: 100%; }
  .hero__cta  { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: none; }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__photo-wrap {
    max-width: 260px;
    margin: 0 auto;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }

  .service-card { padding: 40px 36px; }

  .nav { display: none; }
  .hamburger { display: flex; flex-shrink: 0; }

  .logo {
    gap: 7px;
    max-width: 230px;
  }
  .logo__img {
    width: 26px;
    height: 29px;
  }
  .logo__text {
    font-size: 13px;
  }
  .logo__sub {
    font-size: 7.5px;
    letter-spacing: .10em;
  }

  .hero {
    padding: 100px 0 96px;
  }
  .hero__title {
    font-size: 30px;
  }
  .hero__scroll {
    bottom: 14px;
  }
  .hero__scroll-line {
    height: 24px;
  }
  .hero__cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  /* セカンダリリンクもタップしやすい高さに */
  .cta-ghost {
    padding: 12px 16px;
  }

  .reasons__grid {
    grid-template-columns: 1fr;
  }
  .works__grid {
    grid-template-columns: 1fr;
  }

  .contact__cards {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* ボタンが画面からはみ出さないように */
  .btn {
    max-width: 100%;
    padding: 14px 28px;
  }

  /* スマホでは行間広め・段落間ゆとりで読みやすく */
  .about__greeting {
    line-height: 1.9;
  }
  .about__body p {
    line-height: 2;
    margin-bottom: 20px;
  }
}
