/* ── リセット・基本 ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* スマホ専用改行 */
.sp-br { display: none; }
@media (max-width: 768px) { .sp-br { display: inline; } }

/* クリッカブル要素は必ず指カーソルに */
a,
button,
[onclick],
[role="button"],
label[for],
input[type="submit"],
input[type="button"] {
  cursor: pointer !important;
}

:root {
  --navy:      #1a2338;
  --pink:      #be3466;
  --pink-light: #f2abc5;
  --pink-bg:   #fdf6f9;
  --white:     #fff;
  --gray:      #f5f5f7;
  --text:      #1a2338;
  --text-sub:  #666;
  --line:      #ecdde6;
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  background: var(--white);
  overflow-x: clip; /* 横スクロール防止（stickyを壊さない） */
}

/* メニュー展開中のスクロール禁止 */
body.menu-open { overflow: hidden; }

.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ── ヘッダー ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* 左に大ロゴ、右に2段（補助リンク／メニュー）。全体は白一体 */
.header__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px clamp(18px, 5vw, 50px);
  display: flex;
  align-items: center;
  gap: 30px;
}
.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo-img2 { height: 116px; width: auto; display: block; }

.header__right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

/* 上段：補助リンク（白・右寄せ） */
.header__util { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.header__util a { font-size: 12.5px; font-weight: 600; color: var(--text-sub); text-decoration: none; }
.header__util a:hover { color: var(--pink); }
.header__util-sep { width: 1px; height: 11px; background: #e2e2e6; }

/* 下段：カテゴリ＋検索＋CTA */
.header__main { display: flex; align-items: center; gap: 20px; }

/* カテゴリから探す */
.header__cat { position: relative; flex-shrink: 0; }
.header__cat-btn {
  background: none; border: 0; cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 6px 4px;
}
.header__cat-eyebrow {
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 900;
  letter-spacing: .15em; color: var(--pink);
}
.header__cat-main {
  font-size: 15px; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; gap: 5px;
}
.header__cat-main i { font-style: normal; font-size: 11px; color: var(--pink); transition: transform .2s; }
.header__cat-btn[aria-expanded="true"] .header__cat-main i { transform: rotate(180deg); }
.header__cat-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.13); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; z-index: 50;
}
.header__cat.is-open .header__cat-menu { opacity: 1; visibility: visible; transform: none; }
.header__cat-menu a {
  display: block; padding: 11px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.header__cat-menu a:hover { background: var(--pink-bg); color: var(--pink); }

/* キーワード検索 */
.header__search { position: relative; display: flex; align-items: center; flex: 1; max-width: 440px; margin-left: auto; }
.header__search input {
  width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0 48px 0 20px; font-size: 14px; font-family: inherit; background: #fff; outline: none;
}
.header__search input:focus { border-color: var(--pink); }
.header__search-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; background: none; cursor: pointer;
  color: #9aa3b2; display: grid; place-items: center;
}
.header__search-btn svg { width: 20px; height: 20px; }
.header__search-list {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.13);
  padding: 6px; display: none; z-index: 60; max-height: 330px; overflow-y: auto;
}
.header__search-list.is-open { display: block; }
.header__search-list a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.header__search-list a:hover, .header__search-list a.is-active { background: var(--pink-bg); color: var(--pink); }
.header__search-empty { padding: 12px 14px; font-size: 13px; color: var(--text-sub); }

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: .04em;
  line-height: 1;
  cursor: pointer;
}

.header__logo-text span {
  color: #efbcd0;
  font-weight: 700;
  margin-left: 8px;
  font-size: 17px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero__logo-wrap {
  margin-bottom: 48px;
  text-align: center;
}

.hero__logo-img {
  height: auto;
  width: clamp(280px, 50vw, 520px);
  max-width: 520px;
  object-fit: contain;
  animation: logoFadeIn 1.8s cubic-bezier(.16,.86,.44,1) both;
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.6);
    filter: blur(12px);
  }
  30% {
    opacity: 1;
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
}

.hero__eyebrow {
  animation: fadeUp .9s cubic-bezier(.22,.61,.36,1) .5s both;
}

.hero__title {
  animation: none;
}

/* 1行目：右からスッと */
.hero__title-line {
  display: block;
}
.hero__title-line--right {
  animation: slideFromRight 0.85s cubic-bezier(.22,.61,.36,1) .65s both;
}
/* 2行目：左からスッと */
.hero__title-line--left {
  animation: slideFromLeft 0.85s cubic-bezier(.22,.61,.36,1) .85s both;
}

@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(56px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-56px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero__sub {
  animation: fadeUp 1s cubic-bezier(.22,.61,.36,1) .9s both;
}

.hero__btns {
  animation: fadeUp 1s cubic-bezier(.22,.61,.36,1) 1.1s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* footer__logo-img は下部フッターCSSで定義 */

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: color .2s;
  cursor: pointer;
}

.header__nav a:hover { color: var(--pink); }

.header__cta {
  background: var(--pink) !important;
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px !important;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition:
    transform  0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important,
    box-shadow 0.22s ease !important,
    background 0.18s ease !important;
  will-change: transform;
}

.header__cta:hover {
  background: #a82b58 !important;
  box-shadow: 0 8px 24px rgba(190,52,102,.4);
  transform: translateY(-3px) scale(1.04);
}

.header__cta:active {
  transform: translateY(1px) scale(0.97) !important;
  transition-duration: 0.08s !important;
}

/* ── ボタン ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: .04em;
  transition:
    transform  0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease,
    background 0.18s ease,
    opacity    0.18s ease;
  will-change: transform;
}

/* 押し込み感 */
.btn:active {
  transform: translateY(2px) scale(0.97) !important;
  transition-duration: 0.08s !important;
}

.btn--primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(190,52,102,.3);
}

.btn--primary:hover {
  background: #a82b58;
  box-shadow: 0 10px 32px rgba(190,52,102,.45);
  transform: translateY(-4px) scale(1.03);
}

.btn--outline {
  border: 2px solid var(--pink);
  color: var(--pink);
  background: transparent;
}

.btn--outline:hover {
  background: var(--pink-bg);
  box-shadow: 0 8px 24px rgba(190,52,102,.18);
  transform: translateY(-4px) scale(1.03);
}

.btn--full { width: 100%; text-align: center; }

/* ── セクション共通 ── */
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 40px;
  position: relative;
}

/* ── セクション背景ウォーターマーク 共通 ── */
.section-title::before {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(48px, 9vw, 88px);
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: .1em;
  z-index: 0;
  pointer-events: none;
  color: rgba(0,0,0,.05);
}

.about    .section-title::before { content: 'ABOUT';   }
.flow     .section-title::before { content: 'FLOW';    }
.works    .section-title::before { content: 'WORKS';   }
.company  .section-title::before { content: 'COMPANY'; }
.faq      .section-title::before { content: 'FAQ';     }
.contact  .section-title::before { content: 'CONTACT'; color: rgba(255,255,255,.08); }

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  background: linear-gradient(160deg, #ffffff 0%, #fdf6f9 50%, #fce8f0 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(242,171,197,.25) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(190,52,102,.06) 0%, transparent 50%);
  pointer-events: none;
}

/* 桜の花びら */
.sakura { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.petal {
  position: absolute; top: -24px; width: 14px; height: 14px;
  background: linear-gradient(135deg, #f9c9d9, #f3a0bb);
  border-radius: 12px 2px 12px 2px;
  opacity: 0; animation: petalFall linear infinite;
}
@keyframes petalFall {
  0%   { transform: translateY(-24px) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: .9; }
  85%  { opacity: .72; }
  100% { transform: translateY(105vh) translateX(90px) rotate(560deg); opacity: 0; }
}
.petal:nth-child(1){left:3%;width:12px;height:12px;animation-duration:9s;animation-delay:0s}
.petal:nth-child(2){left:11%;width:16px;height:16px;animation-duration:12s;animation-delay:1.4s}
.petal:nth-child(3){left:19%;width:10px;height:10px;animation-duration:8s;animation-delay:.6s}
.petal:nth-child(4){left:27%;width:15px;height:15px;animation-duration:11s;animation-delay:2.2s}
.petal:nth-child(5){left:35%;width:13px;height:13px;animation-duration:10s;animation-delay:3s}
.petal:nth-child(6){left:43%;width:11px;height:11px;animation-duration:9.5s;animation-delay:.3s}
.petal:nth-child(7){left:51%;width:17px;height:17px;animation-duration:13s;animation-delay:1.9s}
.petal:nth-child(8){left:59%;width:12px;height:12px;animation-duration:8.5s;animation-delay:4s}
.petal:nth-child(9){left:67%;width:14px;height:14px;animation-duration:11.5s;animation-delay:2.6s}
.petal:nth-child(10){left:75%;width:10px;height:10px;animation-duration:9s;animation-delay:.9s}
.petal:nth-child(11){left:83%;width:16px;height:16px;animation-duration:12.5s;animation-delay:3.4s}
.petal:nth-child(12){left:90%;width:13px;height:13px;animation-duration:10.5s;animation-delay:1.1s}
.petal:nth-child(13){left:96%;width:11px;height:11px;animation-duration:9.8s;animation-delay:2.9s}
.petal:nth-child(14){left:48%;width:12px;height:12px;animation-duration:11s;animation-delay:5s}
@media (prefers-reduced-motion: reduce) { .petal { animation: none; opacity: 0; } }

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 60px);
}

.hero__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(28px, 4.5vw, 58px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  color: var(--pink);
}

.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: #555;
  margin-bottom: 48px;
  line-height: 2;
}

.hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__btns .btn--outline {
  border-color: var(--pink);
  color: var(--pink);
}

.hero__btns .btn--outline:hover {
  background: var(--pink-bg);
}

/* ── 強み3点 ── */
.strengths {
  padding: clamp(48px, 7vw, 80px) 0;
  background: var(--navy);
}

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

.strength-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
}

/* 写真背景（ぼかし） */
.strength-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(.75);
  transform: scale(1.06);
  transition: filter .5s ease, transform .5s ease;
}

.strength-card:hover::before {
  filter: blur(0px) brightness(.6);
  transform: scale(1.1);
}

/* グラデーションオーバーレイ */
.strength-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 15, 30, .88) 0%,
    rgba(10, 15, 30, .45) 55%,
    rgba(10, 15, 30, .1) 100%
  );
  transition: background .5s ease;
}

.strength-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(10, 15, 30, .92) 0%,
    rgba(10, 15, 30, .55) 55%,
    rgba(10, 15, 30, .15) 100%
  );
}

/* テキスト層（z-indexで前面へ） */
.strength-card__content {
  position: relative;
  z-index: 1;
  padding: 28px 28px 32px;
}

.strength-card__label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink-light);
  background: rgba(190,52,102,.25);
  border: 1px solid rgba(242,171,197,.4);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.strength-card h3 {
  font-size: 19px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.strength-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,.78);
  line-height: 1.9;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

/* アクセントカラー */
.accent-blue {
  font-style: normal;
  color: #38bcd8;
}

.accent-pink {
  font-style: normal;
  background: linear-gradient(90deg, #be3466 0%, #9b4fa8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── スクロールアニメーション ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none; /* 非表示中はマウスイベントを通過させる */
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto; /* 表示後は通常通り */
}

/* 遅延クラス（グリッドの子要素をずらして表示） */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* モーション軽減設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── 波形区切り ── */
.wave-divider {
  line-height: 0;
  overflow: hidden;
  margin-bottom: -2px; /* セクション間の隙間をなくす */
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(40px, 6vw, 80px);
}

/* about(白) の背景を波形の裏にも引き継ぐ */
.wave-divider--to-pink {
  background: var(--white);
}

/* service(ピンク) → flow(グレー) */
.wave-divider--to-gray {
  background: var(--pink-bg);
}

/* flow(グレー) → works(白) */
.wave-divider--to-white {
  background: var(--gray);
}

/* ── About ── */
.about {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0;
  background:
    url('assets/driver-photo.png') right top / auto 130% no-repeat,
    var(--white);
}

/* 左→右のグラデーションオーバーレイ */
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #fff  0%,
    #fff  38%,
    rgba(255,255,255,0.82) 52%,
    rgba(255,255,255,0.30) 70%,
    transparent 90%
  );
  pointer-events: none;
  z-index: 0;
}

/* 下→上のグラデーション（波形との境目をなじませる） */
.about::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.6) 50%, #fff 100%);
  pointer-events: none;
  z-index: 0;
}

/* about__visual は非表示（背景画像で代替） */
.about__visual {
  display: none;
}

.about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about__title {
  font-size: clamp(24px, 3.2vw, 36px);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ── About スクロールアニメーション ── */
.ab-anim {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
  transition-delay: var(--ab-delay, 0s);
}
.ab-anim.ab-visible {
  opacity: 1;
  transform: translateY(0);
}

/* タイトル：大きくなってからきゅっと戻る */
.ab-anim--zoom {
  transform: scale(1.16);
  transform-origin: left center;
  transition:
    opacity 0.6s ease,
    transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ab-anim--zoom.ab-visible {
  opacity: 1;
  transform: scale(1);
}

.about__lead {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 2;
}

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

.about__profile {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
  border-left: 3px solid var(--pink);
  padding-left: 16px;
}

.about__profile-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
}

.about__profile-sub {
  font-size: 13px;
  color: var(--pink);
  font-weight: 700;
  margin-top: 4px;
}

.about__card {
  background: linear-gradient(150deg, #1a2338 0%, #0d1525 60%, #200d18 100%);
  border-radius: 24px;
  padding: 20px 36px;
  border: 1px solid rgba(242,171,197,.12);
  box-shadow:
    0 24px 60px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
}

.about__stat-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
}

.about__stat-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(10,15,30,.6);
  border: 1.5px solid rgba(190,52,102,.3);
  box-shadow:
    inset 2px 2px 6px rgba(0,0,0,.5),
    inset -1px -1px 3px rgba(255,255,255,.04),
    0 0 16px rgba(190,52,102,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__stat-info {
  display: flex;
  flex-direction: column;
}

.about__card-divider {
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,.1);
}

.about__card-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #f2abc5 0%, #be3466 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__card-num small {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #f2abc5 0%, #be3466 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── About フォト（右側背景） ── */
.about__photo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  max-width: 100%;
}

/* 左から白にフェードするグラデーション */
.about__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #fff 0%,
    rgba(255,255,255,0.85) 20%,
    rgba(255,255,255,0.4) 45%,
    transparent 75%
  );
  pointer-events: none;
}

.about__card-label {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 6px;
  font-weight: 700;
  letter-spacing: .06em;
}

.about__tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about__tag-wrap .tag {
  background: #fff;
  border: 1.5px solid rgba(190,52,102,.25);
  color: var(--pink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  transition: all .2s;
}

.about__tag-wrap .tag:hover {
  background: #fdf0f5;
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(190,52,102,.15);
}

.tag-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pink-bg);
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--pink-light);
}

.tag--sm {
  font-size: 11px;
  padding: 4px 10px;
}

/* ── Service ── */
.service {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--pink-bg);
}

.service .section-title { text-align: center; }
.service .section-eyebrow { text-align: center; }

.service .section-title {
  position: relative;
}
.service .section-title::before {
  content: 'SERVICE';
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(48px, 9vw, 88px);
  font-weight: 900;
  color: rgba(190,52,102,.07);
  white-space: nowrap;
  letter-spacing: .1em;
  z-index: 0;
  pointer-events: none;
}

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

/* SNSカードは全幅・横並びで区別 */
.service-card--sns {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  border: 2px solid var(--pink-light);
  background: linear-gradient(135deg, #fff 60%, #fdf6f9 100%);
}

.service-card__sns-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  white-space: nowrap;
}

.service-card--sns .service-card__name {
  font-size: 18px;
}

.service-card--sns .service-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.service-card--sns .service-card__price {
  font-size: clamp(22px, 2.5vw, 28px);
}

.service-card__sns-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  margin: 0;
}

.service-card--sns .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-card--sns {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 16px;
  }
  .service-card__sns-left { white-space: normal; }
}

.service-card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 28px;
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
}

.service-card--featured {
  border-color: var(--pink);
  box-shadow: 0 8px 40px rgba(190,52,102,.15);
  transform: scale(1.03);
}

/* 推奨バッジ */
.service-card__rec {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* プラン名 */
.service-card__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .06em;
  margin-bottom: 10px;
}

/* 価格エリア */
.service-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.service-card__price {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.service-card--featured .service-card__price {
  background: linear-gradient(135deg, #be3466 0%, #9b4fa8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card__price-unit {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 400;
}

/* 区切り線 */
.service-card__hr {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}

/* セクションラベル */
.service-card__section {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 16px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--pink-light);
  font-family: 'Montserrat', sans-serif;
}

/* 各行 */
.service-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(236,221,230,.5);
  gap: 8px;
}

.service-card__row span:first-child {
  color: var(--text-sub);
  flex: 1;
}

.service-card__row span:last-child {
  font-weight: 700;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

/* チェック・ダッシュ */
.sc-check {
  color: var(--pink) !important;
  font-weight: 900 !important;
  font-size: 15px;
}

.sc-dash {
  color: #ccc !important;
  font-weight: 400 !important;
}

.service__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 32px;
}

/* SNS運用サポート 独立セクション */
.sns-service-banner {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to right, rgba(13,26,46,0.88) 45%, rgba(13,26,46,0.4) 100%),
    url('assets/sns-bg.png') center/cover no-repeat;
  overflow: hidden;
}

.sns-service-banner__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 40px);
}

.sns-service-banner__text {
  max-width: 520px;
}

.sns-service-banner__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .25em;
  color: var(--pink-light);
  margin-bottom: 16px;
}

.sns-service-banner__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
}

.sns-service-banner__desc {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.9;
  margin-bottom: 20px;
}

.sns-service-banner__price {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  margin-bottom: 28px;
}

.sns-service-banner__price strong {
  font-size: 24px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
  .sns-service-banner {
    background:
      linear-gradient(to bottom, rgba(13,26,46,0.85) 0%, rgba(13,26,46,0.6) 100%),
      url('assets/sns-bg.png') center/cover no-repeat;
  }
  .sns-service-banner__text { max-width: 100%; }
}

/* サービスリード文 */
.service__lead {
  text-align: center;
  font-size: 15px;
  color: var(--text-sub);
  margin-top: 8px;
  margin-bottom: 40px;
  line-height: 1.9;
}

/* ── オプション一覧 ── */
.option__wrap {
  margin-top: 56px;
  background: var(--white);
  border-radius: 24px;
  padding: 40px 40px 36px;
  border: 1.5px solid var(--line);
}

.option__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.option__sub {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 28px;
}

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

.option__group {
  background: var(--gray);
  border-radius: 16px;
  padding: 20px 20px 16px;
}

.option__group-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--pink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--line);
}

.option__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(236,221,230,.5);
  gap: 8px;
}

.option__item:last-child {
  border-bottom: none;
}

.option__name {
  font-size: 13px;
  color: var(--text);
  flex: 1;
}

.option__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 900px) {
  .option__groups {
    grid-template-columns: 1fr;
  }
  .option__wrap {
    padding: 28px 24px;
  }
}

/* ── お悩みセクション ── */
.problem {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--white);
}

.problem__eyebrow {
  text-align: center;
  font-size: 11px;
  letter-spacing: .2em;
  color: #bbb;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  position: relative;
  z-index: 0;
}

/* 大きな背景文字 */
.problem .section-title {
  text-align: center;
  position: relative;
}

.problem .section-title::before {
  content: 'PROBLEM';
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(48px, 9vw, 88px);
  font-weight: 900;
  color: rgba(0,0,0,.05);
  white-space: nowrap;
  letter-spacing: .1em;
  z-index: -1;
  pointer-events: none;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.problem__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* 吹き出し群 */
.problem__bubbles {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 20px;
  flex: 1; /* カード内の余白を吹き出しが吸収→全カードで高さが揃う */
}

.problem__bubbles p {
  background: #ebf5fd;
  border: 1.5px solid #93c5df;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #1e3a5f;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* 最後の吹き出しに三角の尾をつける */
.problem__bubbles p:last-child::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 24px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #93c5df;
}
.problem__bubbles p:last-child::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 25px;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ebf5fd;
  z-index: 1;
}

/* 広報カード：破線ボーダー */
.problem__card--q .problem__bubbles p {
  background: #f0ebff;
  border-color: #a08cd8;
  border-style: dashed;
  color: #2d1f5e;
}
.problem__card--q .problem__bubbles p:last-child::after {
  border-top-color: #a08cd8;
}
.problem__card--q .problem__bubbles p:last-child::before {
  border-top-color: #f0ebff;
}
.problem__card--q .problem__bicon {
  background: #ddd5f5;
  color: #5b3db5;
}

/* 営業カード：緑系ライト */
.problem__card--idea .problem__bubbles p {
  background: #edfaf0;
  border-color: #72c78a;
  color: #1a4229;
}
.problem__card--idea .problem__bubbles p:last-child::after {
  border-top-color: #72c78a;
}
.problem__card--idea .problem__bubbles p:last-child::before {
  border-top-color: #edfaf0;
}
.problem__card--idea .problem__bicon {
  background: #c8f0d3;
}

/* アイコンバッジ */
.problem__bicon {
  width: 34px;
  height: 34px;
  background: #cce5f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1;
}

/* テキスト部分 */
.problem__bubbles p > span:last-child {
  flex: 1;
}

/* イラスト */
.problem__illust {
  width: 110px;
  height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.problem__illust img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.problem__role {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

/* ── 会社概要 ── */
.company {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--white);
}

.company .section-eyebrow { text-align: center; }
.company .section-title   { text-align: center; margin-bottom: 48px; }

.company__table-wrap {
  max-width: 720px;
  margin: 0 auto;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.company__table {
  width: 100%;
  border-collapse: collapse;
}

.company__table th,
.company__table td {
  padding: 18px 28px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.company__table tr:last-child th,
.company__table tr:last-child td {
  border-bottom: none;
}

.company__table th {
  width: 160px;
  font-weight: 700;
  background: var(--gray);
  color: var(--navy);
  white-space: nowrap;
}

.company__table td {
  color: var(--text);
}

.company__table td a {
  color: var(--pink);
  text-decoration: none;
}

.company__table td a:hover {
  text-decoration: underline;
}

/* ── 制作の流れ ── */
.flow {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--gray);
}

/* ヘッダーバッジ */
.flow__header {
  position: relative;
  text-align: center;
  margin-bottom: 48px;
}

/* 装飾ドット */
.flow__header::before {
  content: '';
  position: absolute;
  left: calc(50% - 230px);
  top: -8px;
  width: 70px;
  height: 54px;
  background-image: radial-gradient(circle, #be3466 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  opacity: 0.25;
  pointer-events: none;
}

.flow__header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 8px;
  letter-spacing: .04em;
  box-shadow: 0 6px 24px rgba(26,35,56,.22);
}

.flow__header-badge strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #f2abc5, #be3466);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 6px;
}

/* カードグリッド */
.flow__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 32px;
}

/* カード */
.flow-card {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 24px 20px 22px;
  border: 1.5px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

/* ピンク角括弧コーナー */
.flow-card::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: 18px;
  height: 18px;
  border-top: 2.5px solid var(--pink);
  border-left: 2.5px solid var(--pink);
  border-radius: 4px 0 0 0;
}

.flow-card__step {
  display: inline-block;
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.flow-card__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 16px;
}

.flow-card__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 0;
}

.flow-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ピンクのダッシュライン */
.flow-card__hr {
  width: 36px;
  height: 3px;
  background: linear-gradient(to right, var(--pink), var(--pink-light));
  border-radius: 2px;
  margin: 14px auto 14px;
  flex-shrink: 0;
}

.flow-card__desc {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.9;
  text-align: left;
  flex: 1;
}

/* シェブロン矢印 */
.flow-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-size: 32px;
  font-weight: 300;
  color: var(--pink-light);
  line-height: 1;
  align-self: center;
}

/* フッターバー */
.flow__footer {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

.flow__footer-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__footer-label {
  font-size: 14px;
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 4px;
}

.flow__footer-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  margin: 0;
}

.flow__footer-text strong {
  color: var(--navy);
}

@media (max-width: 768px) {
  .flow__header::before { display: none; }

  /* バッジを縦並びに再構成 */
  .flow__header-badge {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 14px 28px;
    font-size: 13px;
    letter-spacing: .02em;
  }
  .flow__header-badge strong {
    font-size: 28px;
    margin-left: 0;
    letter-spacing: .06em;
  }

  .flow__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-card__arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .flow__footer { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* タイトルの改行を非表示にして1行に */
  .flow-card__title br { display: none; }
  .flow-card__title { font-size: 15px; white-space: nowrap; }
}

/* ── Works ── */
.works {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--white);
}

.works .section-title { text-align: center; }
.works .section-eyebrow { text-align: center; }

.works__lead {
  text-align: center;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 40px;
}

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

.works__grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin: 0 auto;
}

.work-card__plan-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 900;
  background: var(--pink);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: .06em;
}

.work-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

/* ブラウザモックアップ */
.work-card__browser {
  background: #e8eaed;
  border-bottom: 1.5px solid var(--line);
}
.work-card__browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f1f3f4;
  border-bottom: 1px solid #dde0e4;
}
.work-card__browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.work-card__browser-dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.work-card__browser-dots span:nth-child(1) { background: #ff5f57; }
.work-card__browser-dots span:nth-child(2) { background: #ffbd2e; }
.work-card__browser-dots span:nth-child(3) { background: #28c840; }
.work-card__browser-url {
  flex: 1;
  background: #fff;
  border: 1px solid #dde0e4;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: #5f6368;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-card__preview {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.work-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}
.work-card:hover .work-card__preview img {
  transform: scale(1.04);
}
.work-card__preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(12,31,63,.5) 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px 18px;
  opacity: 0;
  transition: opacity .3s;
}
.work-card:hover .work-card__preview-overlay { opacity: 1; }
.work-card__preview-open {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 6px 14px;
  text-decoration: none;
}

/* プレミアムはグラデーション背景 */
.work-card__preview--premium {
  background: linear-gradient(135deg, #0c1f3f 0%, #1a2338 50%, #2a0f1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
}
.work-card__preview--premium .work-card__preview-label {
  text-align: center;
  color: rgba(255,255,255,.8);
}
.work-card__preview--premium .work-card__preview-label span {
  display: block;
  font-size: 36px;
  margin-bottom: 8px;
}
.work-card__preview--premium .work-card__preview-label p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}

/* プランバッジ（カード内） */
.work-card__plan-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.work-card__plan-badge--basic    { background: var(--navy); color: #fff; }
.work-card__plan-badge--standard { background: var(--pink); color: #fff; }
.work-card__plan-badge--premium  { background: linear-gradient(90deg,#be3466,#9b4fa8); color: #fff; }

.work-card__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.work-card__detail-link {
  font-size: 12px;
  color: var(--text-sub);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s, gap .2s, border-color .2s;
}
.work-card__detail-link:hover {
  color: var(--pink);
  border-color: var(--pink);
  gap: 8px; /* → が右にスライド */
}

.work-card__body {
  padding: 28px;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.work-card__title {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}

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

.work-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
  border-bottom: 1px solid var(--pink-light);
  padding-bottom: 2px;
  transition: all .2s;
}
.work-card__link:hover { color: #a82b58; border-color: #a82b58; }

.work-card__badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-bg);
  border: 1px solid var(--pink-light);
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: .06em;
}

.works__demo-cta {
  text-align: center;
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--gray);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.works__demo-cta p {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.works__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 20px;
}

@media (max-width: 768px) {
  .works__grid { grid-template-columns: 1fr; }
}

/* ── FAQ ── */
.faq {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--white);
}

/* FAQページ単体表示時 */
.faq--page {
  padding-top: clamp(48px, 7vw, 80px);
}

/* ナビ：現在ページ */
.header__nav--active {
  color: var(--pink) !important;
  font-weight: 700;
}

/* ナビ：SNS運用（目立つスタイル） */
.header__nav--sns {
  color: var(--pink) !important;
  font-weight: 900;
  position: relative;
}
.header__nav--sns::before {
  content: 'NEW';
  position: absolute;
  top: -8px;
  right: -6px;
  font-size: 8px;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .05em;
  background: var(--pink);
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.4;
}

.faq .section-title {
  margin-bottom: 48px;
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--gray);
  border-radius: 16px;
  padding: 28px 32px;
  border: 1.5px solid var(--line);
  transition: box-shadow .2s;
}

.faq-item:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
}

.faq-item__q,
.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.faq-item__q {
  margin-bottom: 16px;
}

.faq-item__q p {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.6;
  padding-top: 4px;
}

.faq-item__a p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
  padding-top: 6px;
}

.faq-item__a p strong {
  color: var(--navy);
  font-weight: 700;
}

.faq-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.faq-badge--q {
  background: var(--navy);
  color: var(--white);
}

.faq-badge--a {
  background: var(--white);
  color: var(--pink);
  border: 1.5px solid var(--pink-light);
}

/* ── Contact ── */
/* ── Contact CTA ── */
.contact {
  padding: clamp(64px, 9vw, 120px) 0;
  background: linear-gradient(135deg, #0d1a2e 0%, #1a2338 60%, #2e0f1e 100%);
  text-align: center;
}

.contact__inner { display: flex; flex-direction: column; align-items: center; }

.contact .section-eyebrow { color: var(--pink-light); }
.contact .section-title   { color: var(--white); margin-bottom: 20px; }

.contact__sub {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 2;
}

.contact__btn {
  font-size: 16px;
  padding: 18px 48px;
  margin-bottom: 20px;
}

.contact__note {
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

/* ── Contact Form (cf) ── */
.cf {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(26,35,56,.08);
}

/* ステップ表示 */
.cf__steps {
  display: flex;
  height: 56px;
}

.cf__step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  background: #e4e4e4;
  color: #aaa;
  position: relative;
  z-index: 0;
  user-select: none;
}

.cf__step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 0;
  width: 0; height: 0;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-left: 14px solid #e4e4e4;
  z-index: 2;
}

.cf__step--active {
  background: var(--navy);
  color: var(--white);
  z-index: 1;
}

.cf__step--active::after {
  border-left-color: var(--navy) !important;
}

.cf__step--done {
  background: rgba(26,35,56,.18);
  color: var(--navy);
}

.cf__step--done::after {
  border-left-color: rgba(26,35,56,.18) !important;
}

/* パネル */
.cf__panel {
  padding: 40px 52px;
}

.cf__panel--hidden { display: none; }

/* フォーム行 */
.cf__row {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.cf__row--last { border-bottom: none; }

.cf__label {
  width: 176px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.cf__req {
  background: var(--pink);
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 1px;
}

.cf__opt {
  background: #c0c0c0;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 1px;
}

.cf__field { flex: 1; }

.cf__field input,
.cf__field select,
.cf__field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d8d8d8;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fafafa;
  transition: border-color .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}

.cf__field input:focus,
.cf__field select:focus,
.cf__field textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: var(--white);
}

.cf__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #fafafa;
  padding-right: 36px;
  cursor: pointer;
}

.cf__field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.cf__field input.input--error,
.cf__field select.input--error,
.cf__field textarea.input--error {
  border-color: var(--pink);
  background: #fff5f8;
}

.cf__err {
  color: var(--pink);
  font-size: 12px;
  margin-top: 5px;
  min-height: 16px;
}

/* アクションボタン */
.cf__actions {
  margin-top: 32px;
  display: flex;
}

.cf__actions--right   { justify-content: flex-end; }
.cf__actions--between { justify-content: space-between; }

/* 確認テーブル */
.cf__confirm-note {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.cf__confirm-table {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
}

.cf__confirm-row {
  display: flex;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.cf__confirm-row:last-child { border-bottom: none; }

.cf__confirm-label {
  width: 160px;
  flex-shrink: 0;
  padding: 14px 20px;
  font-weight: 700;
  background: var(--gray);
  color: var(--text);
}

.cf__confirm-value {
  flex: 1;
  padding: 14px 20px;
  color: var(--text);
  word-break: break-all;
  line-height: 1.7;
}

/* 完了画面 */
.cf__complete {
  text-align: center;
  padding: 56px 24px;
}

.cf__complete-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #be3466 0%, #9b4fa8 100%);
  color: var(--white);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(190,52,102,.3);
}

.cf__complete-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}

.cf__complete-body {
  color: var(--text-sub);
  line-height: 2;
  font-size: 15px;
}

/* ── Footer ── */
/* ── フッター（リッチ版） ── */
.footer {
  background: var(--navy);
}

.footer__main {
  padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ブランドカラム */
.footer__brand {}

.footer__logo-img {
  height: auto;
  width: 250px;
  max-width: 100%;
  margin-bottom: 16px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer__email {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin-bottom: 24px;
  word-break: break-all;
}

.footer__cta-btn {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity .2s;
}
.footer__cta-btn {
  transition:
    transform  0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease,
    background 0.18s ease;
  cursor: pointer;
  will-change: transform;
}

.footer__cta-btn:hover {
  background: #a82b58;
  box-shadow: 0 8px 24px rgba(190,52,102,.4);
  transform: translateY(-3px) scale(1.04);
}

.footer__cta-btn:active {
  transform: translateY(1px) scale(0.97);
  transition-duration: 0.08s;
}

/* リンクカラム */
.footer__col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  color: var(--pink-light);
  border-left: 3px solid var(--pink);
  padding-left: 10px;
  margin-bottom: 16px;
  margin-top: 0;
}

.footer__col-title + .footer__col-title,
.footer__col-title ~ .footer__col-title {
  margin-top: 28px;
}

.footer__links {
  list-style: none;
  margin-bottom: 0;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: rgba(255,255,255,.6) !important;
  font-size: 13px;
  text-decoration: none !important;
  transition: color .2s;
  line-height: 1.6;
  display: block;
  cursor: pointer;
}
.footer__links a:hover { color: var(--pink-light) !important; }

.footer__links--info li {
  color: rgba(255,255,255,.38);
  font-size: 12px;
  margin-bottom: 7px;
  line-height: 1.7;
}

/* ボトムバー */
.footer__bottom {
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,.28);
}

/* レスポンシブ */
@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 480px) {
  /* ヒーロータイトルを小さくして2行きれいに収める */
  .hero__title {
    font-size: 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* フッターブランドエリアを中央揃え */
  .footer__brand {
    text-align: center;
  }
  .footer__logo-img {
    margin-left: auto;
    margin-right: auto;
  }
  .footer__cta-btn {
    display: block;
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
  }
}

/* ── ハンバーガーボタン ── */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 10px;
  border-radius: 8px;
  transition: background .2s;
  flex-shrink: 0;
}
.header__hamburger:hover {
  background: var(--gray);
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
  transform-origin: center;
}
.header__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--pink);
}
.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--pink);
}

/* ── モバイルナビ（スライドイン） ── */
.mobile-nav {
  position: fixed;
  top: 64px;
  right: 0;
  width: min(300px, 85vw);
  height: calc(100dvh - 64px);
  background: var(--white);
  z-index: 150;
  box-shadow: -4px 0 32px rgba(26,35,56,.18);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 36px 28px 64px;
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
}
.mobile-nav__links a {
  display: block;
  padding: 15px 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.2s;
  letter-spacing: .02em;
}
.mobile-nav__links a:hover,
.mobile-nav__links a:focus {
  color: var(--pink);
  padding-left: 10px;
}
/* お問い合わせCTAボタン */
.mobile-nav__cta {
  margin-top: 28px !important;
  background: var(--pink) !important;
  color: var(--white) !important;
  text-align: center !important;
  padding: 14px 24px !important;
  border-radius: 999px !important;
  border-bottom: none !important;
  font-size: 15px !important;
  box-shadow: 0 4px 16px rgba(190,52,102,.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.mobile-nav__cta:hover {
  background: #a82b58 !important;
  padding-left: 24px !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(190,52,102,.4) !important;
}

/* 暗幕オーバーレイ */
.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(26,35,56,.5);
  backdrop-filter: blur(2px);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.mobile-nav__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* デスクトップでは非表示 */
@media (min-width: 769px) {
  .mobile-nav,
  .mobile-nav__overlay { display: none !important; }
  .header__hamburger    { display: none !important; }
}

/* ── スマホ対応 ── */
@media (max-width: 768px) {
  /* ヘッダー：ハンバーガーボタンを表示、ナビを非表示 */
  .header__hamburger { display: flex; }
  .header__right { display: none; }
  .header__inner { padding: 8px 16px; gap: 12px; }
  .header__logo-img2 { height: 50px; }
  .header__hamburger { margin-left: auto; }

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

  /* スマホでは背景写真を上部に小さく表示してグラデ調整 */
  .about {
    background-size: 100% auto;
    background-position: right top;
  }
  .about::before {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.15) 0%,
      rgba(255,255,255,0.75) 35%,
      #fff 60%
    );
  }
  .about__inner {
    grid-template-columns: 1fr;
    padding-top: clamp(160px, 40vw, 260px);
  }

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

  .service-card--featured { transform: none; }

  /* Problem：スマホは1列 */
  .problem__grid { grid-template-columns: 1fr; gap: 24px; max-width: 380px; margin-left: auto; margin-right: auto; }
  .problem__bubbles { min-height: auto; }

  /* Company */
  .company__table th { width: 110px; padding: 14px 16px; font-size: 13px; }
  .company__table td { padding: 14px 16px; font-size: 13px; }

  /* Contact form mobile */
  .cf__panel { padding: 28px 20px; }
  .cf__row { flex-direction: column; gap: 8px; }
  .cf__label { width: 100%; padding-top: 0; }
  .cf__confirm-label { width: 100px; padding: 12px 14px; font-size: 13px; }
  .cf__confirm-value { padding: 12px 14px; font-size: 13px; }
  .cf__step { font-size: 11.5px; }

  /* .footer__inner は旧フッターで使用、現在は不使用 */
}
