/* 全画面ローダー背景 */
#loading {
  position: fixed;
  inset: 0;
  background: rgba(253, 251, 248, 0.98); /* ほぼ白で見やすく */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* 中央のカード */
.loading-card {
  min-width: 260px;
  padding: 24px 28px 22px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* 上のラベル */
.loading-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--color-text-sub);
  margin: 0 0 8px;
}

/* 名前を大きく */
.loading-title {
  font-size: 18px;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
}

/* プログレスバー枠 */
.loading-bar-wrap {
  width: 220px;
  max-width: 60vw;
  height: 6px;
  border-radius: 999px;
  background: #f1ece4;
  overflow: hidden;
  margin: 0 auto 12px;
}

/* プログレスバー本体（アニメーション） */
.loading-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--color-accent-2),
    var(--color-accent-1)
  );
  animation: loading-bar-fill 2.4s ease-in-out infinite;
}

/* 下のサブテキスト */
.loading-sub {
  font-size: 11px;
  color: var(--color-text-sub);
  margin: 0;
}

/* 非表示時のフェードアウト */
#loading.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out;
}

/* ローディング中はスクロール禁止 */
body.is-loading {
  overflow: hidden;
}

/* バーのアニメーション */
@keyframes loading-bar-fill {
  0% {
    width: 0;
    transform: translateX(-30%);
  }
  50% {
    width: 90%;
    transform: translateX(0);
  }
  100% {
    width: 0;
    transform: translateX(30%);
  }
}
/* ローディングタイトル全体のスタイル（既存に追加） */
.loading-title.loading-title-hop {
  letter-spacing: 0.16em;
}

/* 各文字をインラインブロックにしてアニメーションさせる */
.loading-title-hop span {
  display: inline-block;
  animation: loading-hop 1.2s ease-in-out infinite;
}

/* ホップの動き：ちょっと上にポンッと上がる */
@keyframes loading-hop {
  0%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(0);
  }
}

/* 文字ごとに少しずつディレイを付ける */
.loading-title-hop span:nth-child(1) {
  animation-delay: 0s;
}
.loading-title-hop span:nth-child(2) {
  animation-delay: 0.05s;
}
.loading-title-hop span:nth-child(3) {
  animation-delay: 0.1s;
}
.loading-title-hop span:nth-child(4) {
  animation-delay: 0.15s;
}
.loading-title-hop span:nth-child(5) {
  animation-delay: 0.2s;
}
.loading-title-hop span:nth-child(6) {
  animation-delay: 0.25s;
}

/* ========= Base ========= */
:root {
  --color-bg: #fdfbf8; /* やわらかい背景 */
  --color-surface: #ffffff;
  --color-border: #e4e0da; /* 細い線の色 */
  --color-text-main: #303030;
  --color-text-sub: #777777;

  --color-accent-1: #ffd8de; /* パステルピンク */
  --color-accent-2: #cfe9ff; /* パステルブルー */
  --color-accent-3: #f9f2c7; /* パステルイエロー */

  --color-cta: #ff8c6b; /* CTA用の少し濃いコーラルピンク */
  --color-cta-hover: #ff8c6b;
  --color-cta-text: #ffffff;

  --radius-md: 16px;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.04);

  --font-jp:
    'YuGothic', '游ゴシック体', -apple-system, BlinkMacSystemFont, system-ui,
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}
html {
  /* scroll-behavior: smooth; */
  scroll-behavior: auto;
}

body,
a,
button,
input,
textarea {
  font-family: var(--font-jp);
  font-size: 15px; /* やや小さめ */
  line-height: 1.9;
  color: var(--color-text-main);
  background: var(--color-bg);
  cursor: none;
}
/* ページ全体を覆うパララックス背景レイヤー */
.page-bg-parallax {
  position: fixed;
  inset: 0;
  z-index: -1; /* コンテンツの裏側 */
  pointer-events: none;

  /* 好きな背景：淡いグラデーション＋模様など */
  /* WORKSセクションは --color-accent-1 */
  .section#works {
    background: var(--color-accent-1);
  }

  /* PROFILEセクションは --color-accent-2 */
  .section#profile {
    background: var(--color-accent-2);
  }

  /* SKILLSセクションは --color-accent-3 */
  .section#skills {
    background: var(--color-accent-3);
  }

  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* カスタムカーソルの丸 */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(48, 48, 48, 0.8);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1000;
  mix-blend-mode: multiply;
  transition: background 0.15s ease;
}
/* リンクの上では少し大きくするためのクラス */
.cursor-dot.is-link {
  transform: translate(-50%, -50%) scale(1.6);
  background: rgba(207, 233, 255, 0.9); /* パステルブルー */
}
/* リンクやボタン上にいる間：丸の周囲で波紋が出続ける */
.cursor-dot.is-link::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(207, 233, 255, 0.9); /* パステルブルー */
  transform: translate(-50%, -50%);
  animation: cursor-ripple-loop 0.8s ease-out infinite;
}
.cursor-dot.is-click {
  background: rgba(48, 48, 48, 0.9);
}
/* 波紋エフェクト用一時クラス */
/* クリック時に2回ポンポンと出る波紋 */
/* クリック時に一回だけ出る波紋 */
.cursor-click-ripple {
  position: fixed;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(207, 233, 255, 0.9); /* お好みの色 */
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  animation: cursor-click-ripple 1s ease-out forwards;
}

/* 波紋アニメーション */
@keyframes cursor-click-ripple {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4);
  }
}

/* スマホ・タブレット向け（pointer: coarse の場合は標準カーソル） */
@media (pointer: coarse) {
  body,
  a,
  button,
  input,
  textarea {
    cursor: auto;
  }
}
/* 既存の cursor-dot に追加 */

/* WORKS画像上で反転した見た目にする用 */
.cursor-dot.is-invert {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(48, 48, 48, 0.8);
  mix-blend-mode: normal; /* 黒背景の上でも見えるように */
}

/* =========================
  パズルのピース風マウストレイル
========================= */

.cursor-piece {
  position: fixed;
  width: 10px; /* ピースの大きさ */
  height: 10px;
  border-radius: 2px; /* 角丸少しだけ */
  background: rgba(207, 233, 255, 0.8); /* 背景色に近いパステル */
  pointer-events: none;
  z-index: 0; /* コンテンツの下に見せたいなら 0〜10 くらい */
  transform-origin: center;
  animation: cursor-piece-fall 0.9s ease-out forwards;
}

/* ピースが剥がれて落ちていくようなアニメーション */
@keyframes cursor-piece-fall {
  0% {
    opacity: 0.9;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  60% {
    opacity: 0.6;
    transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(8deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--dx) * 1.5), calc(var(--dy) * 1.5))
      scale(0.8) rotate(18deg);
  }
}

/* ========= Layout ========= */

.section {
  padding: 80px 20px;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* ========= Header / Nav ========= */

.g-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 248, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.g-header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.g-logo {
  display: flex;
  align-items: center;
}
.g-logo img {
  height: 26px;
  width: auto;
  object-fit: contain;
}
.g-nav a {
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-left: 18px;
  text-decoration: none;
  color: var(--color-text-main);
  position: relative;
}

.g-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--color-text-main);
  transition: width 0.25s ease;
}

.g-nav a:hover::after {
  width: 100%;
}

/* ========= Hero ========= */

/* Hero セクション全体 */
.hero {
  position: relative;
  min-height: 100vh; /* 画面いっぱい表示 */
  padding: 120px 20px 80px; /* 上下余白は好みで調整 */
  background: var(--color-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero-scrolldown {
  position: absolute;
  left: 50%;
  bottom: 48px; /* 太線の少し上に配置 */
  transform: translateX(-50%);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--color-text-sub);
}

.hero-scrolldown-line {
  display: inline-block;
  width: 1px;
  height: 24px;
  background: var(--color-text-sub);
  margin-bottom: 8px;
}

.hero-scrolldown-text {
  display: block;
}
/* HEROの最下部に表示される太い下線 */
.hero-border-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0; /* HEROの一番下 */
  border-top: 4px solid #000; /* 太さ・色 */
}

@media (max-width: 767px) {
  .hero {
    padding: 96px 20px 56px;
    min-height: 100vh;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero::before {
    display: none; /* 斜線を消したい場合 */
  }
}

/* 背景レイヤー：パステルのにじみ */
.hero-bg-layer {
  position: absolute;
  inset: -60px 0 0 0;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 216, 222, 0.65) 0,
      transparent 52%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(207, 233, 255, 0.65) 0,
      transparent 55%
    );
  pointer-events: none;
  z-index: -1;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* 前景（テキスト・イラスト）もほんの少し浮かせる */
.hero-text-block,
.hero-visual-block {
  position: relative;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* 2カラムレイアウト */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

/* 左：テキスト */
.hero-text-block {
  padding-top: 8px;
}

.hero-role {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--color-text-sub);
  margin-bottom: 10px;
}

.hero-title {
  font-size: 26px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.hero-text {
  font-size: 14px;
  color: var(--color-text-sub);
  margin: 0 0 26px;
}

/* 右：イラスト枠 */
.hero-visual-block {
  justify-self: end;
}

.hero-visual-frame {
  width: 260px;
  height: 260px;
  border-radius: 32px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-visual-frame img {
  max-width: 90%;
  height: auto;
}

/* 下の装飾ライン＋SCROLL */
.hero-scrolldown {
  margin-top: 64px;
  text-align: center;
}

.hero-scrolldown-line {
  display: inline-block;
  width: 1px;
  height: 32px;
  background: var(--color-border);
  margin-bottom: 8px;
}

.hero-scrolldown-text {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--color-text-sub);
}

/* SP時は縦並び */
@media (max-width: 767px) {
  .hero {
    padding: 96px 20px 56px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual-block {
    justify-self: start;
  }
  .hero-visual-frame {
    width: 220px;
    height: 220px;
  }
}

/* ========= Button ========= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  margin-top: 28px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--color-text-main);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn.primary {
  background: var(--color-accent-2);
  border-color: transparent;
}

.btn:hover {
  background: var(--color-accent-2);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

/* ========= Section titles ========= */

.section-title {
  font-size: 20px;
  letter-spacing: 0.12em;
  margin: 0 0 6px;
}

.section-sub {
  font-size: 13px;
  color: var(--color-text-sub);
  margin: 0 0 40px;
}

/* ========= WORKS ========= */

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2列固定 */
  gap: 28px 24px;
  align-items: stretch;
}

/* カードは線＋少しだけ角丸でフラットに */
.work-card {
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  /* overflow: hidden; */
  display: flex;
  flex-direction: column;
}

.work-thumb img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  aspect-ratio: 16/10;
  border-radius: 8px;
}
.work-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(48, 48, 48, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  border-radius: 8px;
}

.work-card:hover .work-thumb-overlay {
  opacity: 1;
}

.work-thumb-overlay span {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
}
.work-body {
  padding: 16px 18px 20px;
}

.work-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-text-sub);
  margin-bottom: 6px;
}

.work-title {
  font-size: 15px;
  margin: 0 0 8px;
}

.work-text {
  font-size: 13px;
  color: var(--color-text-sub);
  margin: 0;
}

/* ホバーはほんの少しだけ影を付ける */
.work-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.btn {
  transition:
    background 0.2s ease-out,
    box-shadow 0.2s ease-out,
    transform 0.2s ease-out;
}

.btn.primary:hover {
  background: #d6e9ff; /* var(--color-accent-2) より少し濃い色に調整 */
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
/* SPでは1列 */
@media (max-width: 767px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* ========= PROFILE ========= */

.profile-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-top: 8px;
}

.profile-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.profile-name {
  font-size: 15px;
  margin: 8px 0 14px;
}

.profile-text {
  font-size: 13px;
  color: var(--color-text-sub);
  margin: 0 0 10px;
}

/* SPでは縦並び＋写真中央寄せ */
@media (max-width: 767px) {
  .profile-inner {
    grid-template-columns: 1fr;
  }
  .profile-image {
    justify-self: center;
  }
}

/* ========= SKILLS ========= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.skill-block {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 18px 20px;
}

.skill-title {
  font-size: 14px;
  letter-spacing: 0.16em;
  margin: 0 0 10px;
}

.skill-text {
  font-size: 13px;
  color: var(--color-text-sub);
  margin: 0 0 8px;
}

.skill-tools {
  font-size: 12px;
  color: var(--color-text-sub);
}

/* ========= PROCESS ========= */

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-border);
}

.process-list li {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}

.process-list h3 {
  font-size: 14px;
  margin: 0 0 4px;
}

.process-list p {
  font-size: 13px;
  color: var(--color-text-sub);
  margin: 0;
}

/* ========= CONTACT ========= */

.contact-form {
  max-width: 520px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  background: var(--color-surface);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent-2);
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
}

.sns-links a {
  text-decoration: none;
  color: var(--color-text-sub);
}

/* ========= FOOTER ========= */

.footer {
  padding: 24px 20px 40px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 11px;
  color: var(--color-text-sub);
}

/* ========= Responsive ========= */

@media (max-width: 767px) {
  .section {
    padding: 64px 20px;
  }

  .g-header-inner {
    padding-inline: 16px;
  }

  .g-nav a {
    margin-left: 12px;
  }

  .profile-inner {
    grid-template-columns: 1fr;
  }
}
/* 共通：見出し用の初期状態 */
.heading-anim {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

/* 表示状態 */
.heading-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SKILLSだけ横方向から出したい場合 */
.heading-anim-skills {
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.heading-anim-skills.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* WORKSのタイトルだけ少し遅らせる（0.15s） */
#works .section-title {
  transition-delay: 0.15s;
}
/* WORKSカードの基本フェード（すでにフェード済みなら不要） */
/* 通常の work-card（既存）に軽い影＋トランジションを付ける */
.work-card {
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out;
}

/* 画像の初期状態 */
.work-thumb img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.3s ease-out;
}

/* ポップアップ状態（JSから付くクラス） */
.work-card.is-popup {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.work-card.is-popup .work-thumb img {
  transform: scale(1.05);
}

/* 表示状態 */
.work-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 順番にディレイを付ける（必要に応じて枚数を増減） */
#works .work-card:nth-child(1) {
  transition-delay: 0s;
}
#works .work-card:nth-child(2) {
  transition-delay: 0.08s;
}
#works .work-card:nth-child(3) {
  transition-delay: 0.16s;
}
#works .work-card:nth-child(4) {
  transition-delay: 0.24s;
}
/* Bottom Nav (SP only) */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60; /* header(50)より少し上、カーソル系より下にしたい場合は調整 */
  display: flex;
  height: 56px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

/* PCでは非表示（SP専用） */
@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--color-text-sub);
}

.bottom-nav__icon {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 2px;
}

.bottom-nav__item--active {
  color: var(--color-text-main);
}
/* 非表示状態（下に隠す） */
.bottom-nav.is-hidden {
  transform: translateY(100%);
  transition: transform 0.25s ease-out;
}

/* 通常表示時もスムーズにするための初期値 */
.bottom-nav {
  transform: translateY(0);
  transition: transform 0.25s ease-out;
}

/* ========= Header CTA ========= */

.g-nav {
  display: flex;
  align-items: center;
}

.g-nav-cta {
  margin-left: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--color-cta);
  color: var(--color-cta-text) !important;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(244, 100, 126, 0.28);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.g-nav-cta::after {
  display: none; /* 下線アニメは不要 */
}

.g-nav-cta:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(244, 100, 126, 0.34);
}

@media (max-width: 767px) {
  /* SPはヘッダーが窮屈なのでSERVICE/SKILLS等を間引き、CTAだけ残す */
  .g-nav a:not(.g-nav-cta) {
    display: none;
  }
  .g-nav-cta {
    margin-left: 0;
  }
}

/* ========= SERVICE / 料金 ========= */

#service {
  background: var(--color-bg);
}

.service-lead {
  text-align: center;
  margin-bottom: 32px;
}

.service-lead-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.service-lead-text {
  font-size: 13px;
  color: var(--color-text-sub);
  margin: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 28px 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.price-card--recommend {
  border-color: var(--color-cta);
  box-shadow: 0 12px 30px rgba(244, 100, 126, 0.16);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-cta);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 999px;
  margin: 0;
}

.price-plan {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
}

.price-desc {
  font-size: 12px;
  color: var(--color-text-sub);
  margin: 0 0 14px;
}

.price-amount {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--color-text-main);
}

.price-amount span {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-sub);
  margin-left: 2px;
}

.price-cta {
  margin-top: auto;
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: var(--color-accent-2);
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.price-card--recommend .price-cta {
  background: var(--color-cta);
  color: #fff;
}

.price-cta:hover {
  transform: translateY(-2px);
}

.price-note {
  font-size: 12px;
  color: var(--color-text-sub);
  text-align: center;
  margin: 24px 0 0;
}

@media (max-width: 767px) {
  .price-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ========= REASON / 選ばれる理由 ========= */

#reason {
  background: var(--color-bg);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.reason-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 28px 22px 24px;
}

.reason-num {
  display: inline-block;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-cta);
  line-height: 1;
  margin-bottom: 12px;
}

.reason-title {
  font-size: 15px;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.reason-text {
  font-size: 13px;
  color: var(--color-text-sub);
  margin: 0;
}

@media (max-width: 767px) {
  .reason-grid {
    grid-template-columns: 1fr;
  }
}

/* お客様の声（枠だけ） */
.voice-block {
  margin-top: 40px;
}

.voice-heading {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 0 0 16px;
}

.voice-coming {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-align: center;
  padding: 32px 20px;
}

.voice-coming p {
  font-size: 16px;
  letter-spacing: 0.16em;
  color: var(--color-text-sub);
  margin: 0 0 6px;
}

.voice-coming span {
  font-size: 12px;
  color: var(--color-text-sub);
}

/* ========= CONTACT ========= */

#contact {
  background: var(--color-bg);
}

.contact-inner {
  text-align: center;
}

.contact-lead {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 28px;
}

.contact-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--color-cta);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(244, 100, 126, 0.28);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-cta:hover {
  background: var(--color-cta-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(244, 100, 126, 0.34);
}

.contact-cta-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-top: 2px;
}

.contact-cta--ghost {
  background: var(--color-surface);
  color: var(--color-text-main);
  border: 1px solid var(--color-cta);
  box-shadow: none;
}

.contact-cta--ghost:hover {
  background: #fff;
  color: var(--color-cta-hover);
}

/* フォーム */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.contact-form-hp {
  display: none;
}

.contact-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.contact-field-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-text-sub);
  margin-bottom: 6px;
}

.contact-submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 0;
  border: none;
  border-radius: 999px;
  background: var(--color-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(244, 100, 126, 0.28);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

@media (pointer: coarse) {
  .contact-submit {
    cursor: pointer;
  }
}

.contact-submit:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
}

/* ========= Floating CTA (PCで右下固定) ========= */

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 22px;
  border-radius: 16px;
  background: var(--color-cta);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(244, 100, 126, 0.36);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.floating-cta:hover {
  background: var(--color-cta-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(244, 100, 126, 0.42);
}

.floating-cta-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.floating-cta-sub {
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.92;
  margin-top: 2px;
}

/* SPはbottom-navがあるので非表示 */
@media (max-width: 767px) {
  .floating-cta {
    display: none;
  }
}

/* bottom-nav の相談ボタンを強調 */
.bottom-nav__item--cta {
  color: var(--color-cta);
  font-weight: 700;
}

.bottom-nav__item--cta .bottom-nav__icon {
  filter: none;
}
