/* 基本設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background: #f4f7fb;
  font-size: 15px;
}

/* レイアウト */
.container {
  max-width: 830px;
  margin: 0 auto;
  padding: 0 16px;
}

.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  background: transparent;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  padding: 8px 0;
}

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

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo__icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: #0ea5e9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.4);
}

.logo__text {
  font-weight: 700;
  font-size: 19px;
  color: #0f172a;
}

/* ナビ */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-size: 15px;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: #0ea5e9;
}

.nav__button {
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: #0ea5e9;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__button:hover {
  background: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.45);
}

.nav__button--sp {
  display: none;
}

/* ボタン共通 */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.button--primary {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.45);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button--primary:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.55);
}

.button--secondary {
  background: #fff;
  color: #0ea5e9;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.button--secondary:hover {
  background: #f9fafb;
}

/* セクション */
main {
  padding-top: 80px;
}

.section {
  padding: 80px 0;
}

.section--features {
  background: #ffffff;
}

.section--achievements {
  background: #f3f7fb;
}

.section--services {
  background: #ffffff;
}

.section--contact {
  background: #0ea5e9;
  position: relative;
  overflow: hidden;
}

/* セクションヘッダー */
.section__head {
  margin-bottom: 40px;
}

.section__head--center {
  text-align: center;
}

.section__title {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.section__subtitle {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}

/* ヒーロー */
.hero {
  position: relative;
  padding: 120px 0 80px;
  background: radial-gradient(circle at top left, #e0f2fe 0, #f4f7fb 40%, #ffffff 100%);
  overflow: hidden;
}

.hero__bg-circle {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
}

.hero__bg-circle--left {
  width: 260px;
  height: 260px;
  background: #dbeafe;
  top: -80px;
  left: -80px;
}

.hero__bg-circle--right {
  width: 320px;
  height: 320px;
  background: #bae6fd;
  top: 40px;
  right: -120px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__tagline {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #0ea5e9;
  background: #e0f2fe;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 18px;
}

.hero__title {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}

.hero__text {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin: 0 0 24px;
}

.hero__cta {
  margin-bottom: 8px;
}

.hero__note {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}

/* ヒーロー画像 */
.hero__image-wrapper {
  position: relative;
  z-index: 1;
}

.hero__image {
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.25);
  border: 6px solid #ffffff;
  object-fit: cover;
  max-height: 320px;
}

.hero__label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.hero__label-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.hero__label-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}

.hero__label-desc {
  font-size: 11px;
  color: #6b7280;
  margin: 2px 0 0;
}

/* 強みカード */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: #bfdbfe;
}

.feature-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-card__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #0f172a;
}

.feature-card__text {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
  line-height: 1.7;
}

/* 実績カード */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.achievement-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  border-left: 4px solid #0ea5e9;
}

.achievement-card__tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #60a5fa;
  margin: 0 0 6px;
}

.achievement-card__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #0f172a;
}

.achievement-card__highlight {
  font-size: 14px;
  font-weight: 700;
  color: #0ea5e9;
  margin: 0 0 8px;
}

.achievement-card__text {
  font-size: 13px;
  color: #4b5563;
  margin: 0;
  line-height: 1.8;
}

/* サービス */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  background: #f9fafb;
  border-radius: 14px;
  padding: 18px 18px 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "→";
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 16px;
  color: #9ca3af;
}

.service-card__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #60a5fa;
  margin: 0 0 6px;
}

.service-card__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0f172a;
}

.service-card__text {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
  line-height: 1.8;
}

/* 相談CTA（contact-card） */
/* ============================ */

.contact-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 48px 36px;
  border-radius: 32px;
  background: #ffffff;
  /* 中は白 */
  color: #0f172a;
  /* 文字は黒系 */
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: #e5e7eb;
  /* 薄グレー背景 */
  border: 1px solid #cbd5e1;
}

.contact-card__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
}

.contact-card__text {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 24px;
  color: #374151;
}

.contact-card__image {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto 24px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

/* CTAボタン：緑グラデーション＋白文字 */
.contact-card__cta {
  margin: 0 auto 10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(to bottom, #3aa83a, #0a5c0a);
  color: #ffffff;
  border: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.contact-card__cta:hover {
  background: linear-gradient(to bottom, #4cc14c, #0f7a0f);
  transform: translateY(-2px);
}

.contact-card__note {
  font-size: 12px;
  color: #6b7280;
  margin: 4px 0 0;
}

/* スマホ調整（既存のメディアクエリと一緒に効きます） */
@media (max-width: 768px) {
  .contact-card {
    padding: 32px 20px 28px;
    border-radius: 24px;
  }

  .contact-card__image {
    margin-top: 16px;
  }
}



/* ============================
   お問い合わせフォーム
============================ */

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 48px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  margin-top: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: #0f172a;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 8px;
}

.contact-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.45);
}

.contact-form button[type="submit"]:active {
  transform: translateY(0);
}

/* プライバシーポリシー同意セクション */
.privacy-section {
  margin: 24px 0;
  padding: 24px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 12px;
}

.privacy-section__text {
  font-size: 14px;
  line-height: 1.8;
  color: #374151;
  margin: 0 0 16px;
}

.privacy-section__text--small {
  font-size: 13px;
  color: #6b7280;
  margin-top: 16px;
  margin-bottom: 0;
}

.privacy-section__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.privacy-section__checkbox:last-of-type {
  margin-bottom: 0;
}

.privacy-section__checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.privacy-section__checkbox label {
  font-size: 14px;
  font-weight: 400;
  color: #374151;
  margin: 0;
  cursor: pointer;
  line-height: 1.6;
}

.privacy-section__link {
  color: #0ea5e9;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.privacy-section__link:hover {
  color: #0284c7;
}

.required-mark {
  color: #ef4444;
  font-weight: 600;
  margin-left: 2px;
}

/* 未入力項目のエラー表示 */
.input-error {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
}

/* フォーム警告メッセージ */
.form-warning {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  color: #991b1b;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* 確認画面 */
.confirm-form {
  max-width: 720px;
  margin: 0 auto;
}

.confirm-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.confirm-item:last-of-type {
  border-bottom: none;
}

.confirm-item__label {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 8px;
}

.confirm-item__value {
  font-size: 16px;
  color: #0f172a;
  line-height: 1.6;
}

.confirm-item__value--multiline {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.confirm-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.confirm-checkbox:last-child {
  margin-bottom: 0;
}

.confirm-checkbox__icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.confirm-checkbox__icon--checked {
  background: #0ea5e9;
  color: #ffffff;
}

.confirm-checkbox__text {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.confirm-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.button-back {
  flex: 1;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  background: #ffffff;
  color: #6b7280;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

.button-back:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #374151;
}

.button-submit {
  flex: 2;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.button-submit:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.45);
}

.button-submit:active {
  transform: translateY(0);
}

/* 送信完了画面 */
.complete-card {
  max-width: 620px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  text-align: center;
}

.complete-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 40px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.35);
}

.complete-card__title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}

.complete-card__text {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
  margin: 0 0 20px;
}

.complete-card__note {
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0 0 32px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.complete-card__button {
  margin-top: 8px;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .contact-form {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .contact-form label {
    font-size: 13px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    font-size: 14px;
    padding: 11px 14px;
  }

  .contact-form button[type="submit"] {
    font-size: 15px;
    padding: 13px 0;
  }

  .privacy-section {
    padding: 20px;
  }

  .privacy-section__text {
    font-size: 13px;
  }

  .privacy-section__text--small {
    font-size: 12px;
  }

  .privacy-section__checkbox label {
    font-size: 13px;
  }

  /* 確認画面のスマホ調整 */
  .confirm-buttons {
    flex-direction: column;
  }

  .button-back,
  .button-submit {
    width: 100%;
  }

  .confirm-item__label {
    font-size: 13px;
  }

  .confirm-item__value {
    font-size: 15px;
  }

  .confirm-checkbox__text {
    font-size: 13px;
  }

  /* 送信完了画面のスマホ調整 */
  .complete-card {
    padding: 36px 24px;
  }

  .complete-card__icon {
    width: 70px;
    height: 70px;
    font-size: 36px;
  }

  .complete-card__title {
    font-size: 20px;
  }

  .complete-card__text {
    font-size: 15px;
  }

  .complete-card__note {
    font-size: 13px;
    padding: 14px;
  }
}

/* フッター */
.footer {
  background: #0f172a;
  color: #e5e7eb;
  padding-top: 26px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
}

.footer__copy {
  font-size: 12px;
  color: #9ca3af;
}

.footer__links {
  display: flex;
  gap: 18px;
}

.footer__link {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: none;
}

.footer__link:hover {
  color: #e5e7eb;
}

.footer__bottom {
  border-top: 1px solid #1f2937;
  text-align: center;
  font-size: 11px;
  color: #6b7280;
  padding: 10px 0 14px;
}

/* フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .hero__title {
    font-size: 26px;
  }
}

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

  .nav__button--sp {
    display: inline-flex;
  }

  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

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

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

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

  .contact-card {
    padding: 32px 20px 28px;
  }

  .hero__image {
    max-height: none;
  }
}

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

  .section__title {
    font-size: 22px;
  }

  .hero__title {
    font-size: 24px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* SVGアイコン（Feature / Hero / CTA 共通） */
.feature-card__icon img,
.hero__label-icon img,
.contact-card__icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.hero__label-icon img {
  width: 26px;
  height: 26px;
}

.contact-card__icon img {
  width: 32px;
  height: 32px;
}

/* アイコン */
.hero__label--card .hero__label-icon img {
  width: 32px;
  height: 32px;
}

/* タイトル */
.hero__label--card .hero__label-title {
  font-size: 12px;
  font-weight: 700;
  color: #0ea5e9;
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}

/* 説明文 */
.hero__label--card .hero__label-desc {
  font-size: 13px;
  line-height: 1.4;
  color: #374151;
}

/* SP 最適化 */
@media (max-width: 480px) {
  .hero__label--card {
    bottom: 14px;
    left: 14px;
    width: 180px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .hero__label--card .hero__label-icon img {
    width: 26px;
    height: 26px;
  }

  .hero__label--card .hero__label-desc {
    font-size: 12px;
  }
}

/* フッターにかからないように止める */
.back-to-top.footer-safe {
  position: absolute;
  bottom: 140px;
  /* フッターにかからない位置で停止 */
}


/* ============================
   上に戻るボタン（デザインは最初の丸型のまま）
============================ */
.back-to-top {
  position: fixed;
  right: 24px;
  /* ← スマホ：右下固定 */
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* ← 丸型（最初のデザイン） */
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  color: #0ea5e9;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;

  /* フェードイン（動きはそのまま） */
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: #f0f9ff;
  color: #0284c7;
  transform: translateY(-3px);
}

/* PC：上に戻るボタンはフッターにかからない高さで固定 */
@media (min-width: 1024px) {
  .back-to-top {
    right: calc((100vw - 830px) / 2 / 2);
    bottom: 120px !important;
  }
}

/* ============================
   プライバシーポリシーページ
============================ */
.privacy-policy-section {
  padding: 120px 0 80px;
  background: #ffffff;
}

.privacy-policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.privacy-policy-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px solid #0ea5e9;
}

.privacy-policy-intro {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin: 0 0 40px;
  text-align: left;
}

.privacy-section-block {
  margin-bottom: 40px;
}

.privacy-section-block:last-of-type {
  margin-bottom: 0;
}

.privacy-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 4px solid #0ea5e9;
}

.privacy-subsection-title {
  font-size: 17px;
  font-weight: 600;
  color: #374151;
  margin: 24px 0 12px;
}

.privacy-section-text {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin: 0 0 12px;
}

.privacy-section-text strong {
  color: #0f172a;
  font-weight: 600;
}

.privacy-list {
  margin: 12px 0 12px 20px;
  padding: 0;
  list-style-type: disc;
}

.privacy-list li {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 8px;
}

.privacy-list li:last-child {
  margin-bottom: 0;
}

.privacy-link {
  color: #0ea5e9;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.privacy-link:hover {
  color: #0284c7;
}

.privacy-contact-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 12px;
}

.privacy-contact-box p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}

.privacy-contact-box p:first-child {
  margin-top: 0;
}

.privacy-contact-box p:last-child {
  margin-bottom: 0;
}

.privacy-contact-box strong {
  color: #0f172a;
  font-weight: 600;
}

.privacy-date {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

.privacy-date p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* プライバシーポリシーページ：スマホ対応 */
@media (max-width: 768px) {
  .privacy-policy-section {
    padding: 100px 0 60px;
  }

  .privacy-policy-content {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .privacy-policy-title {
    font-size: 26px;
    margin-bottom: 12px;
    padding-bottom: 16px;
  }

  .privacy-policy-intro {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .privacy-section-block {
    margin-bottom: 32px;
  }

  .privacy-section-title {
    font-size: 18px;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left-width: 3px;
  }

  .privacy-subsection-title {
    font-size: 16px;
    margin: 20px 0 10px;
  }

  .privacy-section-text {
    font-size: 14px;
  }

  .privacy-list {
    margin-left: 16px;
  }

  .privacy-list li {
    font-size: 14px;
  }

  .privacy-contact-box {
    padding: 16px 18px;
  }

  .privacy-contact-box p {
    font-size: 14px;
  }

  .privacy-date {
    margin-top: 32px;
    padding-top: 20px;
  }

  .privacy-date p {
    font-size: 13px;
    text-align: center;
  }
}

/* ============================
   運営会社ページ
============================ */
.company-section {
  padding: 120px 0 80px;
  background: #ffffff;
}

.company-content {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.company-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px solid #0ea5e9;
}

.company-intro {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin: 0 0 40px;
  text-align: center;
}

/* 会社情報テーブル */
.company-table {
  margin: 0 0 48px;
}

.company-table-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}

.company-table-row:first-child {
  padding-top: 0;
}

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

.company-table-label {
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  padding-top: 2px;
}

.company-table-value {
  font-size: 15px;
  line-height: 1.9;
  color: #0f172a;
}

/* 事業内容リスト */
.company-business-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-business-list li {
  font-size: 15px;
  line-height: 1.9;
  color: #0f172a;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.company-business-list li:last-child {
  margin-bottom: 0;
}

.company-business-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #0ea5e9;
  font-size: 10px;
  top: 9px;
}

/* リンク */
.company-link {
  color: #0ea5e9;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.company-link:hover {
  color: #0284c7;
}

/* お問い合わせCTA */
.company-cta {
  margin-top: 48px;
  padding: 32px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  text-align: center;
}

.company-cta-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}

.company-cta-text {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin: 0 0 24px;
}

/* 運営会社ページ：スマホ対応 */
@media (max-width: 768px) {
  .company-section {
    padding: 100px 0 60px;
  }

  .company-content {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .company-title {
    font-size: 26px;
    margin-bottom: 12px;
    padding-bottom: 16px;
  }

  .company-intro {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .company-table {
    margin-bottom: 32px;
  }

  .company-table-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .company-table-label {
    font-size: 13px;
    padding-top: 0;
  }

  .company-table-value {
    font-size: 14px;
  }

  .company-business-list li {
    font-size: 14px;
  }

  .company-cta {
    margin-top: 32px;
    padding: 24px 20px;
  }

  .company-cta-title {
    font-size: 20px;
  }

  .company-cta-text {
    font-size: 14px;
  }
}

/* ============================
   Why Websoul ページ
============================ */

/* ヒーローセクション（Why専用） */
.hero--why {
  padding: 140px 0 80px;
}

/* USPカードグリッド */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.usp-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: #bfdbfe;
}

.usp-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.usp-card__icon img {
  width: 22px;
  height: 22px;
}

.usp-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.usp-card__subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #0ea5e9;
  margin: 0 0 12px;
}

.usp-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
  margin: 0;
}

/* 実績カードグリッド（Proof） */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.proof-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  border-left: 4px solid #0ea5e9;
}

.proof-card__tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #60a5fa;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.proof-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}

.proof-card__text {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin: 0;
}

.proof-card__diagram {
  margin-top: 16px;
}

/* Why Chosen（選ばれる理由） */
.why-chosen-content {
  max-width: 800px;
  margin: 40px auto 0;
}

.why-chosen-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  margin-bottom: 32px;
}

.why-chosen-intro {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin: 0 0 20px;
}

.why-chosen-intro:last-of-type {
  margin-bottom: 24px;
}

.why-chosen-intro strong {
  color: #0f172a;
  font-weight: 600;
}

.why-chosen-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 20px;
  align-items: start;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.skill-item__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.skill-item__text {
  font-size: 13px;
  line-height: 1.6;
  color: #374151;
}

.skill-item__text strong {
  color: #0f172a;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* プロセスフロー */
.process-flow {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.process-flow__title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
  text-align: center;
}

.process-flow__text {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin: 20px 0 0;
  text-align: center;
}

/* Why導入テキスト */
.why-intro-text {
  margin-top: 32px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero--why {
    padding: 100px 0 60px;
  }

  .usp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .usp-card {
    padding: 24px 20px;
  }

  .usp-card__title {
    font-size: 17px;
  }

  .proof-grid {
    gap: 20px;
  }

  .proof-card {
    padding: 24px 20px;
  }

  .proof-card__title {
    font-size: 16px;
  }

  .proof-card__text {
    font-size: 14px;
  }

  .why-chosen-box {
    padding: 24px 20px;
  }

  .why-chosen-intro {
    font-size: 14px;
  }

  .why-chosen-skills {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .skill-item {
    padding: 14px;
  }

  .skill-item__text {
    font-size: 12px;
  }

  .process-flow {
    padding: 24px 20px;
  }

  .process-flow__title {
    font-size: 18px;
  }

  .process-flow__text {
    font-size: 14px;
  }

  .why-intro-text {
    padding: 20px 16px;
  }
}