:root {
  /* PDFのロゴカラー：深みのあるネイビー */
  --brand-blue: #163269;
  /* PDFのPOINTカラー：明るいライムイエロー */
  --brand-yellow: #dbe442;
  /* 強調・NG・CTA用レッド */
  --brand-red: #ce2525;

  --text-dark: #333333;
  --bg-light: #f4f6f9;
  --white: #ffffff;
}

body {
  font-size: 14px;
  font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  background-color: var(--white);
}

/* ユーティリティ */
.text-brand-blue {
  color: var(--brand-blue) !important;
}

.bg-brand-blue {
  background-color: var(--brand-blue) !important;
}

.text-brand-red {
  color: var(--brand-red) !important;
}

.bg-brand-yellow {
  background-color: var(--brand-yellow) !important;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  letter-spacing: 0.05em;
}

strong {
  color: var(--brand-red);
  background: linear-gradient(transparent 70%, rgba(219, 228, 66, 0.5) 70%);
  font-weight: bold;
}

section {
  padding: 80px 0;
}

/* =========================================
    Layout tweaks
    ========================================= */
@media (max-width: 575.98px) {
  /* Add breathing room on narrow screens */
  .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* =========================================
    Hero Section
    ========================================= */
.hero {
  background: linear-gradient(rgba(22, 50, 105, 0.85), rgba(22, 50, 105, 0.7)),
    url('../images/photo-1586528116311-ad8dd3c8310d.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 200px 0 80px;
  position: relative;
}

.hero-tag {
  background-color: var(--brand-yellow);
  color: var(--brand-blue);
  font-weight: 900;
  padding: 5px 15px;
  display: inline-block;
  margin-bottom: 20px;
  transform: skew(-10deg);
}

.hero-tag span {
  display: block;
  transform: skew(10deg);
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1.5;
  margin-right: -.0.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.2rem;
  }
}

/* =========================================
    Section Headers & Problem Area
    ========================================= */
.section-number {
  display: block;
  font-size: 1rem;
  color: var(--brand-red);
  /* Accent for headers */
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--brand-blue);
  margin-bottom: 40px;
}

/* Misconception Box */
.misconception-box {
  background: #fff;
  border-left: 5px solid var(--brand-red);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.solution-arrow {
  font-size: 1.5rem;
  color: var(--brand-yellow);
  text-shadow: 1px 1px 0 #999;
  display: block;
  margin: 10px 0;
  text-align: center;
}

/* =========================================
    3 Points Section (PDF Style)
    ========================================= */
.point-card {
  background: var(--brand-blue);
  color: white;
  padding: 40px 25px 25px;
  position: relative;
  margin-top: 30px;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.point-circle {
  width: 80px;
  height: 80px;
  background-color: var(--brand-yellow);
  color: var(--brand-blue);
  border-radius: 50%;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  border: 3px solid white;
}

.point-label {
  font-size: 0.8rem;
}

.point-num {
  font-size: 2rem;
}

.point-title {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--brand-yellow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.point-badge {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
}

/* =========================================
    Before / After
    ========================================= */
.ba-col {
  padding: 30px;
  border-radius: 8px;
  height: 100%;
}

.ba-before {
  background-color: #fff0f0;
  border: 2px solid #ffcccc;
}

.ba-after {
  background-color: #f0f7ff;
  border: 2px solid #cce5ff;
  position: relative;
}

.ba-after::before {
  content: 'AFTER';
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--brand-blue);
  color: white;
  padding: 5px 15px;
  font-weight: bold;
  border-radius: 20px;
  font-size: 0.9rem;
}

.ba-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  list-style: none;
  font-weight: 500;
}

.ba-before .ba-list li::before {
  content: '\f62a';
  /* x-circle */
  font-family: bootstrap-icons;
  position: absolute;
  left: 0;
  color: var(--brand-red);
}

.ba-after .ba-list li::before {
  content: '\f26a';
  /* check-circle-fill */
  font-family: bootstrap-icons;
  position: absolute;
  left: 0;
  color: var(--brand-blue);
}

/* =========================================
    OK / NG Area
    ========================================= */
.ok-box {
  background-color: #f0fdf4;
  border: 2px solid #22c55e;
  height: 100%;
}

.ng-box {
  background-color: #fef2f2;
  border: 2px solid var(--brand-red);
  height: 100%;
}

.status-header {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 15px;
}

.text-ok {
  color: #22c55e;
}

.text-ng {
  color: var(--brand-red);
}

.ok-ng-list li {
  margin-bottom: 8px;
  font-weight: bold;
  list-style: none;
  position: relative;
  padding-left: 1.5em;
}

.ok-ng-list li::before {
  position: absolute;
  left: 0;
  font-family: bootstrap-icons;
}

.ok-list li::before {
  content: "\f26a";
  color: #22c55e;
}

.ng-list li::before {
  content: "\f62a";
  color: var(--brand-red);
}

/* =========================================
    Buying Methods & CTA
    ========================================= */
.method-card {
  border: 1px solid #ddd;
  height: 100%;
  transition: transform 0.3s;
}

.method-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-blue);
}

.method-header {
  background-color: var(--brand-blue);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.btn-cta {
  background-color: var(--brand-red);
  color: white;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(206, 37, 37, 0.4);
  border: 2px solid white;
  font-size: 1.2rem;
}

.btn-cta:hover {
  background-color: #a31616;
  color: white;
  transform: scale(1.05);
}

/* Floating CTA (モバイル用) */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(22, 50, 105, 0.95);
  padding: 15px;
  z-index: 1000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  color: white;
}

.floating-cta.visible {
  transform: translateY(0);
}

/* Sticky Footer (PC・タブレット用) */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0d2847 100%);
  padding: 12px 0;
  z-index: 999;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  border-top: 3px solid var(--brand-yellow);
}

.sticky-footer.visible {
  transform: translateY(0);
}

/* 円形CTAのみのsticky footer2用スタイル */
.sticky-footer:has(.cta-circle-link),
.sticky-footer-circle {
  background: transparent;
  border-top: none;
  box-shadow: none;
  padding: 0;
  bottom: 30px;
  right: 30px;
  left: auto;
  width: auto;
  transform: translateY(150%);
}

.sticky-footer:has(.cta-circle-link).visible,
.sticky-footer-circle.visible {
  transform: translateY(0);
}

/* スマートフォン対応 */
@media (max-width: 767px) {
  .sticky-footer-circle {
    bottom: 20px;
    right: 20px;
  }

  .sticky-footer-circle .cta-circle-image {
    width: 60px;
    height: 60px;
    border-width: 3px;
  }

  .sticky-footer-circle .cta-pulse {
    width: 60px;
    height: 60px;
  }
}

.sticky-footer .contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sticky-footer .company-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.sticky-footer .company-logo {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--brand-yellow);
  white-space: nowrap;
}

.sticky-footer .contact-items {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.sticky-footer .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.sticky-footer .contact-item i {
  color: var(--brand-yellow);
  font-size: 1.1rem;
}

.sticky-footer .phone-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
}

.sticky-footer .cta-button {
  background: var(--brand-red);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(206, 37, 37, 0.4);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sticky-footer .cta-button:hover {
  background: #a31616;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(206, 37, 37, 0.5);
  color: white;
}

.sticky-footer .cta-button i {
  font-size: 1.1rem;
}

.sticky-footer .cta-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.sticky-footer .cta-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-yellow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 円形CTAボタン */
.sticky-footer .cta-circle-link {
  position: relative;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.sticky-footer .cta-circle-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--brand-yellow);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.sticky-footer .cta-circle-link:hover .cta-circle-image {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.sticky-footer .cta-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--brand-yellow);
  opacity: 0.6;
  z-index: 1;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.3;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* モーダルスタイル */
.modal-profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--brand-yellow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0d2847 100%);
  color: white;
  border-bottom: 3px solid var(--brand-yellow);
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-footer .btn-primary {
  background: var(--brand-red);
  border: none;
  padding: 10px 30px;
  font-weight: 700;
}

.modal-footer .btn-primary:hover {
  background: #a31616;
}

/* レスポンシブ調整 */
@media (max-width: 991px) {
  .sticky-footer .contact-items {
    gap: 15px;
  }

  .sticky-footer .contact-item {
    font-size: 0.85rem;
  }

  .sticky-footer .phone-number {
    font-size: 1.1rem;
  }

  .sticky-footer .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {

  /* タブレット以下では横長のSticky Footerを非表示（円形CTAは除く） */
  .sticky-footer:not(.sticky-footer-circle) {
    display: none;
  }
}

/* Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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